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

Class: ClientLayerReorder

Source Location: /plugins/layerReorder/client/ClientLayerReorder.php

Class Overview

PluginBase
   |
   --ClientPlugin
      |
      --ClientLayerReorder

Client layereReorder class


Variables

Methods


Inherited Variables

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::getCartoclient()
ClientPlugin::getConfig()
ClientPlugin::getHttpValue()
Returns the user-submitted $key data if it is set.
ClientPlugin::initializeConfig()
Initializes plugin configuration

Class: PluginBase

PluginBase::__construct()
Constructor
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 66]
Client layereReorder class



[ Top ]


Class Variables

$bottomLayers =

[line 124]

Layer order exclusion list to put on bottom of the stack



Tags:

access:  protected

Type:   mixed


[ Top ]

$layerIds =

[line 84]

Initial Ms Layers Ids array



Tags:

access:  protected

Type:   array


[ Top ]

$layerLabels =

[line 90]

Initial Layers Labels array sorted



Tags:

access:  protected

Type:   array


[ Top ]

$layerReorderState =

[line 114]

LayerReorder State object (session object)



Tags:

access:  protected

Type:   object


[ Top ]

$layerTransparencies =

[line 96]

Initial Layers Transparency array sorted



Tags:

access:  protected

Type:   array


[ Top ]

$layerUserTransparencies =

[line 102]

Layers user Transparency array indexed by msLayer name



Tags:

access:  protected

Type:   array


[ Top ]

$log =

[line 72]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$orderedMsLayerIds =

[line 78]

Ms Layer Ids ordered



Tags:

access:  protected

Type:   array


[ Top ]

$selectedMsLayerIds =

[line 108]

Array of MapServer layers id selected (currently displayed)



Tags:

access:  protected

Type:   array


[ Top ]

$topLayers =

[line 119]

Layer order exclusion list to put on top of the stack



Tags:

access:  protected

Type:   mixed


[ Top ]

$transparencyLevels =

[line 129]

Transparency level array allowed for each Ms layer



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 135]

ClientLayerReorder __construct( )

Constructor



Tags:

access:  public


Overrides ClientPlugin::__construct() (Constructor)

[ Top ]

method buildRequest [line 234]

void buildRequest( )



Tags:

access:  public
see:  ServerCaller::buildRequest()


[ Top ]

method createSession [line 146]

void createSession( MapInfo $mapInfo, InitialMapState $initialMapState)



Tags:

access:  public
see:  Sessionable::createSession()


[ Top ]

method getCloserTransparency [line 344]

int getCloserTransparency( int $transparency)

Return closer transparency value from available levels



Tags:

access:  protected


Parameters:

int   $transparency   transparency transparency value in map file

[ Top ]

method getCwLayerIds [line 293]

array getCwLayerIds( )

Retrieve CW3 layer ids array, with for each the corresponding MapServer layer Id as value.



Tags:

access:  public


[ Top ]

method getRenderSelectedLayers [line 312]

array getRenderSelectedLayers( )

Return selected layer labels array, rightly ordered



Tags:

access:  protected


[ Top ]

method getSelectedMsIds [line 259]

array getSelectedMsIds( )

Retrieve selected layers MapServer Ids (rightly ordered)



Tags:

access:  protected


[ Top ]

method handleHttpGetRequest [line 382]

void handleHttpGetRequest( array $request)

Handles data coming from a get request



Tags:

access:  public


Parameters:

array   $request   HTTP request

[ Top ]

method handleHttpPostRequest [line 370]

void handleHttpPostRequest( array $request)

Handles data coming from a post request



Tags:

access:  public


Parameters:

array   $request   HTTP request

[ Top ]

method handleInit [line 190]

void handleInit( mixed $initObject)



Tags:

access:  public
see:  InitUser::handleInit()


[ Top ]

method handleRequest [line 394]

void handleRequest( array $request)

Common method to handle both Get or Post request



Tags:

access:  protected


Parameters:

array   $request   layers to reorder

[ Top ]

method handleResult [line 363]

void handleResult( mixed $result)



Tags:

access:  public
see:  ServerCaller::handleResult()


[ Top ]

method initializeResult [line 252]

void initializeResult( mixed $result)



Tags:

access:  public
see:  ServerCaller::initializeResult()


[ Top ]

method loadSession [line 159]

void loadSession( mixed $sessionObject)



Tags:

access:  public
see:  Sessionable::loadSession()


[ Top ]

method renderForm [line 436]

void renderForm( Smarty $template)

Manages form output rendering



Tags:

access:  public


Parameters:

string   $template   Smarty template object

[ Top ]

method saveSession [line 172]

void saveSession( )



Tags:

access:  public
see:  Sessionable::saveSession()


[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:43:30 +0100 by phpDocumentor 1.3.0RC3