Common
[ class tree: Common ] [ index: Common ] [ all elements ]

Class: Common

Source Location: /common/Common.php

Class Overview


Class containing general common code shared by client and server.


Methods



Class Details

[line 109]
Class containing general common code shared by client and server.

For example, it handles common initialization.




[ Top ]


Class Methods


method cartowebErrorHandler [line 190]

void cartowebErrorHandler( mixed $errno, mixed $errstr, mixed $errfile, mixed $errline)

Error handler for cartoweb.



Tags:

static:  
access:  public


[ Top ]

method initializeApd [line 125]

void initializeApd( boolean $client)

Initialization of the "advanced php debugger" stuff.



Tags:

static:  
access:  private


Parameters:

boolean   $client   true if called from client context.

[ Top ]

method initializeCartoweb [line 208]

void initializeCartoweb( Config $config)

Perform various cartoweb initializations.



Tags:

static:  
access:  public


Parameters:

Config   $config  

[ Top ]

method isErrorIgnored [line 162]

boolean isErrorIgnored( mixed $errno, mixed $errstr, mixed $errfile, mixed $errline)

Ananlyzes errors, and eventually ignores some.



Tags:

return:  true if the given error is to be ignored
static:  
access:  private


[ Top ]

method preInitializeCartoweb [line 140]

void preInitializeCartoweb( array $args)

This function initializes cartoweb in the very beginning. It sets the include path, for instance.



Tags:

static:  
access:  public


Parameters:

array   $args   array of argument values: 'client' true if client, 'apd' set if apd has to be initialized.

[ Top ]

method setDeveloperIniConfig [line 151]

void setDeveloperIniConfig( )

Sets ini directives useful during development



Tags:

static:  
access:  private


[ Top ]

method setIncludePath [line 114]

void setIncludePath( )

Sets the include path, to contain include directory.



Tags:

static:  
access:  private


[ Top ]

method shutdownCartoweb [line 221]

void shutdownCartoweb( mixed $config)

Restores the php context to what it was before calling

InitializeCartoweb()




Tags:

access:  public


[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:36 +0200 by phpDocumentor 1.3.0RC3