Client
[ class tree: Client ] [ index: Client ] [ all elements ]

Class: ClientPlugin

Source Location: /client/ClientPlugin.php

Class Overview

PluginBase
   |
   --ClientPlugin

Client plugin


Author(s):

Variables

Constants

Methods


Child classes:

ExportPlugin
Export plugin
ClientThrottling
Client Throttling
ClientViews
Handles the views creation/edition/deletion interface.
ClientLayerFilter
ClientGeoloc
This plugin let the user select a point on the map and recover the coordinate
ClientWmsBrowserLight
Client WmsBrowserLight class
ClientExportImg
Client part of exportImg plugin
ClientMapOverlay
Client MapOverlay class
ClientStatsReports
Client plugin
ClientBboxHistory
Client plugin
ClientEdit
Client Edit class
ClientSearch
Client search plugin
ClientAdjustMapsize
ClientGeostat
Client Geostat
ClientLocate
Locate web service
ClientAuth
Client authentication plugin based on PEAR:Auth
ClientOgcLayerLoader
Client OgcLayerLoader class
ClientOutline
Client Outline class
ClientRouting
ClientLayerReorder
Client layereReorder class
ClientAccounting
Client part of Accounting plugin
ClientToolTips
Client part of ClientToolTips plugin
ClientImages
Client part of Images plugin
ClientLocation
Client part of Location plugin
ClientLayers
Handles layers selection interface
ClientStatictools
A client plugin class for displaying static tools, like tools for measrurement.
ClientQuery
Client part of Query plugin
ClientTables
Client part of Tables plugin
Plugin which shows a failure message in case the demo data is not installed
ClientTestMainTableRules
Plugin to test tables rules creation
ClientHello
Demo plugin, shows how to output messages and use sessions.
ClientFilterIdrecenter
ClientProjectTableRules
Plugin to test tables rules creation
ClientProjectplugin
ClientProjectTable
Plugin to test tables management

Inherited Variables

Inherited Methods

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 352]
Client plugin



Tags:

abstract:  


[ Top ]


Class Variables

$cartoclient =

[line 383]



Tags:

access:  protected

Type:   Cartoclient


[ Top ]

$config =

[line 388]



Tags:

access:  private

Type:   ClientConfig


[ Top ]

$enabledLevel =  ClientPlugin::ENABLE_LEVEL_FULL

[line 361]

Enable level of the plugin (used for AJAX calls).



Tags:


Type:   int


[ Top ]

$log =

[line 378]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]



Class Methods


constructor __construct [line 393]

ClientPlugin __construct( )

Constructor



Tags:

access:  public


Overridden in child classes as:

ClientExportDxf::__construct()
Constructor
ClientExportDomPdf::__construct()
Constructor
ClientExportCsv::__construct()
Constructor
ClientExportRtf::__construct()
Constructor
ClientExportPdf::__construct()
Constructor
ClientExportLinkIt::__construct()
Constructor
ClientExportHtml::__construct()
Constructor
ClientThrottling::__construct()
ClientViews::__construct()
Constructor
ClientLayerFilter::__construct()
Constructor
ClientGeoloc::__construct()
Constructor
ClientWmsBrowserLight::__construct()
Constructor
ClientExportImg::__construct()
Constructor
ClientBboxHistory::__construct()
Constructor
ClientEdit::__construct()
Constructor
ClientGeostat::__construct()
ClientLocate::__construct()
Constructor
ClientOgcLayerLoader::__construct()
Constructor
ClientOutline::__construct()
Constructor
ClientRouting::__construct()
Constructor
ClientDemoRouting::__construct()
Constructor
ClientLayerReorder::__construct()
Constructor
ClientAccounting::__construct()
Constructor
ClientToolTips::__construct()
Constructor
ClientImages::__construct()
Constructor
ClientLocation::__construct()
Constructor
ClientLayers::__construct()
Constructor
ClientStatictools::__construct()
Constructor
ClientQuery::__construct()
Constructor
ClientTables::__construct()
Constructor
ClientTestMainTableRules::__construct()
Constructor
ClientHello::__construct()
Constructor
ClientProjectTableRules::__construct()
Constructor
ClientProjectplugin::__construct()
Constructor

Overrides PluginBase::__construct() (Constructor)

[ Top ]

method checkBool [line 448]

boolean checkBool( mixed $value, string $variable)

Checks if variable $variable has a boolean (0 or 1) value $value.



Tags:

access:  public


Parameters:

mixed   $value   variable value
string   $variable   variable name

[ Top ]

method checkInt [line 431]

boolean checkInt( mixed $value, string $variable)

Checks if variable $variable has an integer positive or zero value $value.



Tags:

access:  public


Parameters:

mixed   $value   variable value
string   $variable   variable name

[ Top ]

method checkNumeric [line 468]

boolean checkNumeric( mixed $value, string $variable)

Checks if variable $variable has a numeric value $value.



Tags:

access:  public


Parameters:

mixed   $value   variable value
string   $variable   variable name

[ Top ]

method disable [line 521]

void disable( )

Sets the enable level to ClientPlugin::ENABLE_LEVEL_SERVERCALL.



Tags:

access:  public


[ Top ]

method enable [line 514]

void enable( )

Sets the enable level to ClientPlugin::ENABLE_LEVEL_FULL.



Tags:

access:  public


[ Top ]

method getCartoclient [line 420]

Cartoclient getCartoclient( )



Tags:

access:  public


[ Top ]

method getConfig [line 413]

ClientConfig getConfig( )



Tags:

access:  public


[ Top ]

method getEnabledLevel [line 507]

int getEnabledLevel( )

Returns the enable level.



Tags:

return:  the current enable level.
access:  public


[ Top ]

method getFolderId [line 538]

string getFolderId( )

get folder id if set in plugin config



Tags:

access:  protected


[ Top ]

method getHttpValue [line 482]

string getHttpValue( array $request, string $key)

Returns the user-submitted $key data if it is set.



Tags:

access:  public


Parameters:

array   $request  
string   $key  

[ Top ]

method initializeConfig [line 403]

void initializeConfig( Cartoclient $initArgs)

Initializes plugin configuration



Tags:

access:  public


Overrides PluginBase::initializeConfig() (Initializes plugin)

Parameters:

Cartoclient   $initArgs   Cartoclient

[ Top ]

method isEnabledAtLevel [line 530]

bool isEnabledAtLevel( mixed $enableLevel)

Sets the enable level to ClientPlugin::ENABLE_LEVEL_FULL.



Tags:

return:  true if the current enable level is equal or greater than the given enable level, false otherwise.
access:  public


[ Top ]

method setEnableLevel [line 494]

void setEnableLevel( int $enableLevel)

Sets the enable level (to be used with the AJAX mode).



Tags:

access:  public


Parameters:

int   $enableLevel  

[ Top ]


Class Constants

ENABLE_LEVEL_FULL =  3

[line 373]


[ Top ]

ENABLE_LEVEL_LOAD =  0

[line 370]


[ Top ]

ENABLE_LEVEL_PROCESS =  1

[line 371]


[ Top ]

ENABLE_LEVEL_SERVERCALL =  2

[line 372]


[ Top ]



Documentation generated on Mon, 09 Sep 2013 13:30:41 +0200 by phpDocumentor 1.3.0RC3