[line 239]
[line 259]
[line 234]
[line 269]
[line 254]
[line 249]
[line 292]
[line 219]
[line 224]
[line 229]
[line 244]
[line 285]
[line 264]
[line 274]
[line 279]
Cartoclient __construct( )
Initializes:
void addMessage( string $message, [int $channel = Message::CHANNEL_USER])
void callPluginsImplementing( string $interface, string $functionName)
Interfaces are declared in ClientPlugin.
void clientAllowed( )
reads the securityAllowedRoles variable in client.ini
void doMain( )
CartoForm getCartoForm( )
CartoserverService getCartoserverService( )
ClientSession getClientSession( )
ClientConfig getConfig( )
array getCorePluginNames( )
FormRenderer getFormRenderer( )
HttpRequestHandler getHttpRequestHandler( )
MapInfo getMapInfo( )
MapInfoCache getMapInfoCache( )
MapRequest getMapRequest( )
MapResult getMapResult( )
MapResult getMapResultFromRequest( MapRequest $mapRequest)
Also checks that MapInfo is up-to-date. If not, MapInfo cache reloads it.
array getMessages( )
PluginManager getPluginManager( )
ProjectHandler getProjectHandler( )
ResourceHandler getResourceHandler( )
void initializeObjects( )
void initializePlugins( )
void initializeSession( )
If the mapId's session is not created yet, it is created and initialized. For creation and reload, plugins are called to manage their session data.
void isInterruptFlow( )
void main( )
Calls Cartoclient::doMain() with exception handling.
void saveSession( ClientSession $clientSession)
void setClientSession( ClientSession $clientSession)
void setInterruptFlow( boolean $interruptFlow)
When true, the server will not be called, and the final template drawing step is invoked.