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 194]
Class containing general common code shared by client and server.

For example, it handles common initialization.




[ Top ]


Class Methods


method cartowebErrorHandler [line 291]

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

Error handler for cartoweb.



Tags:

static:  
access:  public


[ Top ]

method initializeApd [line 210]

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 309]

void initializeCartoweb( Config $config)

Perform various cartoweb initializations.



Tags:

static:  
access:  public


Parameters:

Config   $config  

[ Top ]

method isErrorIgnored [line 247]

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:  public


[ Top ]

method preInitializeCartoweb [line 225]

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 236]

void setDeveloperIniConfig( )

Sets ini directives useful during development



Tags:

static:  
access:  private


[ Top ]

method setIncludePath [line 199]

void setIncludePath( )

Sets the include path, to contain include directory.



Tags:

static:  
access:  private


[ Top ]

method shutdownCartoweb [line 322]

void shutdownCartoweb( mixed $config)

Restores the php context to what it was before calling

InitializeCartoweb()




Tags:

access:  public


[ Top ]


Documentation generated on Fri, 21 Sep 2007 13:30:44 +0200 by phpDocumentor 1.3.0RC3