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 135]
Cartoserver main class. Contains method exported to the webservice.



[ Top ]


Class Variables

$log =

[line 140]



Tags:

access:  private

Type:   Logger


[ Top ]

$mapResultCache =

[line 150]



Tags:

access:  private

Type:   MapResultCache


[ Top ]

$serverContext =

[line 145]



Tags:

access:  private

Type:   ServerContext


[ Top ]

$timer =

[line 155]



Tags:

access:  private

Type:   Benchmark_Timer


[ Top ]



Class Methods


constructor __construct [line 160]

Cartoserver __construct( )

Constructor



Tags:

access:  public


[ Top ]

method cacheGetMap [line 352]

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

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

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

MapResult doGetMap( MapRequest $mapRequest)

Performs getMap service.



Tags:

access:  private


Parameters:

MapRequest   $mapRequest  

[ Top ]

method doGetMapInfo [line 185]

MapInfo doGetMapInfo( string $mapId)

Performs getMapInfo service.



Tags:

access:  private


Parameters:

string   $mapId   map id

[ Top ]

method getDeveloperMessages [line 197]

Message getDeveloperMessages( )

Returns developper messages.



Tags:

access:  private


[ Top ]

method getMap [line 366]

MapResult getMap( MapRequest $mapRequest)

getMap webservice entry point



Tags:

access:  public


Parameters:

MapRequest   $mapRequest  

[ Top ]

method getMapInfo [line 376]

MapInfo getMapInfo( string $mapId)

getMapInfo webservice entry point



Tags:

access:  public


Parameters:

string   $mapId   map id

[ Top ]

method getServerContext [line 169]

ServerContext getServerContext( string $mapId)



Tags:

access:  public


Parameters:

string   $mapId   map id

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:43:25 +0100 by phpDocumentor 1.3.0RC3