Server

# Class: ClientResponderAdapter Source Location: /server/ServerPlugin.php
### Class Overview
    PluginBase
       |
       --ServerPlugin
          |
          --ClientResponderAdapter
Adapter for interface ClientResponder #### Author(s): | ### Methods handleDrawing handlePostDrawing handlePreDrawing initializeRequest
### Child classes: ServerOutline Server Outline class ServerGeostat Server Geostat ServerSearch Server search plugin ServerOgcLayerLoader Server OgcLayerLoader class ServerEdit Server Edit class ServerLayerReorder Server Layer Reorder ServerRouting Server routing plugin. This class must be subclassed by plugins wishing to perform routing ServerQuery Server part of Query plugin ServerLayers Server plugin for managing the set of layers to render. ServerLocation Server part of Location plugin ServerImages Server part of Images plugin Plugin to test tables management | ### Inherited Variables #### Class: ServerPlugin ServerPlugin::$config ServerPlugin::$log ServerPlugin::$serverContext #### Class: PluginBase PluginBase::$basePath PluginBase::$name PluginBase::$overriddenRequest | ### Inherited Methods #### Class: ServerPlugin ServerPlugin::__construct() Constructor ServerPlugin::getConfig() ServerPlugin::getServerContext() ServerPlugin::initializeConfig() Initializes plugin configuration ServerPlugin::useExtendedInit() ServerPlugin::useExtendedRequest() ServerPlugin::useExtendedResult() #### Class: PluginBase PluginBase::__construct() Constructor PluginBase::account() Records an accounting message for plugins PluginBase::getBasePath() PluginBase::getExtendedName() PluginBase::getName() PluginBase::getRequest() Get plugin's request or result out of MapRequest or MapResult PluginBase::initialize() Plugin initialization (can be extended in custom plugins) PluginBase::initializeConfig() Initializes plugin PluginBase::preInitialize() Plugin pre initialization. In most cases, plugins should use PluginBase::replacePlugin() Returns name of parent plugin in case of plugin extension PluginBase::setBasePath() PluginBase::setExtendedName() PluginBase::setName()
### Class Details [line 166] Adapter for interface ClientResponder This class implements all interface methods so child classes won't need to add an empty method when they're not implemented. #### Tags:
abstract: |
[ Top ] ### Class Methods ### method handleDrawing [line 182]
`void handleDrawing( mixed $requ)`
#### Tags:
access: | public
see: | ClientResponder::handleDrawing()
Overridden in child classes as: ServerOutline::handleDrawing() Handles shapes drawing and area computation ServerEdit::handleDrawing() Handles shapes drawing ServerLocation::handleDrawing() Draw the crosshair and reference marks. [ Top ] ### method handlePostDrawing [line 187]
`void handlePostDrawing( mixed $requ)`
#### Tags:
access: | public
see: | ClientResponder::handlePostDrawing()
[ Top ] ### method handlePreDrawing [line 177]
`void handlePreDrawing( mixed $requ)`
#### Tags:
access: | public
see: | ClientResponder::handlePreDrawing()
Overridden in child classes as: ServerGeostat::handlePreDrawing() ServerSearch::handlePreDrawing() ServerEdit::handlePreDrawing() Handles shapes insert in the database ServerLayerReorder::handlePreDrawing() Reorder MapServer layers lists and transparency from Cartoclient request ServerRouting::handlePreDrawing() Result is set in initializeRequest but Outline must be called ServerQuery::handlePreDrawing() ServerProjectplugin::handlePreDrawing() ServerProjectTable::handlePreDrawing() [ Top ] ### method initializeRequest [line 172]
`void initializeRequest( mixed $requ)`
#### Tags:
access: | public
see: | ClientResponder::initializeRequest()
Overridden in child classes as: ServerSearch::initializeRequest() ServerOgcLayerLoader::initializeRequest() ServerRouting::initializeRequest() ServerLayers::initializeRequest() ServerImages::initializeRequest() [ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:05 +0200 by phpDocumentor 1.3.0RC3