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

Class: Cartoserver

Source Location: /server/Cartoserver.php

Class Overview


Cartoserver main class. Contains method exported to the webservice.


Variables

Methods



Class Details

[line 133]
Cartoserver main class. Contains method exported to the webservice.



[ Top ]


Class Variables

$log =

[line 138]



Tags:

access:  private

Type:   Logger


[ Top ]

$mapResultCache =

[line 148]



Tags:

access:  private

Type:   MapResultCache


[ Top ]

$serverContext =

[line 143]



Tags:

access:  private

Type:   ServerContext


[ Top ]

$timer =

[line 153]



Tags:

access:  private

Type:   Benchmark_Timer


[ Top ]



Class Methods


constructor __construct [line 158]

Cartoserver __construct( )

Constructor



Tags:

access:  public


[ Top ]

method cacheGetMap [line 348]

MapResult cacheGetMap( MapRequest $mapRequest)

Performs the getMap Webservice. This method is to be used by the mapResult cache object, and should not be called directly. Use getMap() for this purpose.



Tags:

access:  public


Parameters:

MapRequest   $mapRequest  

[ Top ]

method callWithExceptionCheck [line 330]

void callWithExceptionCheck( string $function, mixed $argument)

Runs given function with given argument. Returns a SoapFault object if an exception occured.



Tags:

access:  private


Parameters:

string   $function   function name
mixed   $argument   function argument

[ Top ]

method checkRequest [line 219]

void checkRequest( MapRequest $mapRequest)

Checks that all plugins needed by this mapRequest are loaded. Throws a fatal exception otherwise.



Tags:

access:  private


Parameters:

MapRequest   $mapRequest   The request to check for loaded needed plugins.

[ Top ]

method doGetMap [line 245]

MapResult doGetMap( MapRequest $mapRequest)

Performs getMap service.



Tags:

access:  private


Parameters:

MapRequest   $mapRequest  

[ Top ]

method doGetMapInfo [line 183]

MapInfo doGetMapInfo( string $mapId)

Performs getMapInfo service.



Tags:

access:  private


Parameters:

string   $mapId   map id

[ Top ]

method getDeveloperMessages [line 195]

Message getDeveloperMessages( )

Returns developper messages.



Tags:

access:  private


[ Top ]

method getMap [line 362]

MapResult getMap( MapRequest $mapRequest)

getMap webservice entry point



Tags:

access:  public


Parameters:

MapRequest   $mapRequest  

[ Top ]

method getMapInfo [line 372]

MapInfo getMapInfo( string $mapId)

getMapInfo webservice entry point



Tags:

access:  public


Parameters:

string   $mapId   map id

[ Top ]

method getServerContext [line 167]

ServerContext getServerContext( string $mapId)



Tags:

access:  public


Parameters:

string   $mapId   map id

[ Top ]


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