CorePlugins

# Class: ClientAdjustMapsize Source Location: /plugins/adjustMapsize/client/ClientAdjustMapsize.php
### Class Overview
    PluginBase
       |
       --ClientPlugin
          |
          --ClientAdjustMapsize
#### Author(s): #### Version: $Id: ClientAdjustMapsize.php,v 1.1 2007-07-17 07:44:21 ojohner Exp $ | ### Constants TOOL_ADJUST_MAPSIZE | ### Methods getTools handleApplicationTool handleKeymapTool handleMainmapTool
### Inherited Constants #### Class: ClientPlugin ClientPlugin::ENABLE_LEVEL_FULL ClientPlugin::ENABLE_LEVEL_LOAD ClientPlugin::ENABLE_LEVEL_PROCESS ClientPlugin::ENABLE_LEVEL_SERVERCALL | ### Inherited Variables #### Class: ClientPlugin ClientPlugin::$cartoclient ClientPlugin::$config ClientPlugin::$enabledLevel ClientPlugin::$log #### Class: PluginBase PluginBase::$basePath PluginBase::$name PluginBase::$overriddenRequest | ### Inherited Methods #### Class: ClientPlugin ClientPlugin::__construct() Constructor ClientPlugin::checkBool() Checks if variable $variable has a boolean (0 or 1) value $value. ClientPlugin::checkInt() Checks if variable $variable has an integer positive or zero value $value. ClientPlugin::checkNumeric() Checks if variable $variable has a numeric value $value. ClientPlugin::disable() Sets the enable level to ClientPlugin::ENABLE_LEVEL_SERVERCALL. ClientPlugin::enable() Sets the enable level to ClientPlugin::ENABLE_LEVEL_FULL. ClientPlugin::getCartoclient() ClientPlugin::getConfig() ClientPlugin::getEnabledLevel() Returns the enable level. ClientPlugin::getHttpValue() Returns the user-submitted $key data if it is set. ClientPlugin::initializeConfig() Initializes plugin configuration ClientPlugin::isEnabledAtLevel() Sets the enable level to ClientPlugin::ENABLE_LEVEL_FULL. ClientPlugin::setEnableLevel() Sets the enable level (to be used with the AJAX mode). #### 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 7] #### Tags:
version: | $Id: ClientAdjustMapsize.php,v 1.1 2007-07-17 07:44:21 ojohner Exp $
[ Top ] ### Class Methods ### method getTools [line 12]
`void getTools( )`
#### Tags:
access: | public
[ Top ] ### method handleApplicationTool [line 20]
`void handleApplicationTool( ToolDescription $tool)`
#### Tags:
access: | public
[ Top ] ### method handleKeymapTool [line 22]
`void handleKeymapTool( ToolDescription $tool, Shape $keymapShape)`
#### Tags:
access: | public
[ Top ] ### method handleMainmapTool [line 25]
`void handleMainmapTool( ToolDescription $tool, Shape $mainmapShape)`
#### Tags:
access: | public
[ Top ] ### Class Constants #### TOOL_ADJUST_MAPSIZE = 'adjust_mapsize' [line 10] [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:33 +0200 by phpDocumentor 1.3.0RC3