Server

# Class: Cartoserver Source Location: /server/Cartoserver.php
### Class Overview
    Cartocommon
       |
       --Cartoserver
Cartoserver main class. Contains method exported to the webservice. | ### Variables $log $mapResultCache $serverContext $timer | ### Methods __construct cacheGetMap callWithExceptionCheck checkRequest doGetMap doGetMapInfo getDeveloperMessages getMap getMapInfo getServerContext
### Inherited Methods #### Class: Cartocommon Cartocommon::getCorePluginNames() Returns the names of core plugins shared by client and server
### Class Details [line 136] Cartoserver main class. Contains method exported to the webservice. [ Top ] ### Class Variables #### $log = [line 141] #### Tags:
access: | private
Type: | Logger
[ Top ] #### $mapResultCache = [line 151] #### Tags:
access: | private
Type: | MapResultCache
[ Top ] #### $serverContext = [line 146] #### Tags:
access: | private
Type: | ServerContext
[ Top ] #### $timer = [line 156] #### Tags:
access: | private
Type: | Benchmark_Timer
[ Top ] ### Class Methods ### constructor __construct [line 161]
`Cartoserver __construct( )`
Constructor #### Tags:
access: | public
[ Top ] ### method cacheGetMap [line 364]
`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 346]
`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 222]
`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 248]
`MapResult doGetMap( MapRequest $mapRequest)`
Performs getMap service. #### Tags:
access: | private
#### Parameters:
MapRequest | $mapRequest |
[ Top ] ### method doGetMapInfo [line 186]
`MapInfo doGetMapInfo( string $mapId)`
Performs getMapInfo service. #### Tags:
access: | private
#### Parameters:
string | $mapId | map id
[ Top ] ### method getDeveloperMessages [line 198]
`Message getDeveloperMessages( )`
Returns developper messages. #### Tags:
access: | private
[ Top ] ### method getMap [line 378]
`MapResult getMap( MapRequest $mapRequest)`
getMap webservice entry point #### Tags:
access: | public
#### Parameters:
MapRequest | $mapRequest |
[ Top ] ### method getMapInfo [line 388]
`MapInfo getMapInfo( string $mapId)`
getMapInfo webservice entry point #### Tags:
access: | public
#### Parameters:
string | $mapId | map id
[ Top ] ### method getServerContext [line 170]
`ServerContext getServerContext( string $mapId)`
#### Tags:
access: | public
#### Parameters:
string | $mapId | map id
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:32 +0200 by phpDocumentor 1.3.0RC3