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

Class: ClientEdit

Source Location: /plugins/edit/client/ClientEdit.php

Class Overview

PluginBase
   |
   --ClientPlugin
      |
      --ClientEdit

Client Edit class


Variables

Constants

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 84]
Client Edit class



[ Top ]


Class Variables

$editState =

[line 96]



Tags:

access:  private

Type:   EditState


[ Top ]

$general =

[line 101]



Tags:

access:  private

Type:   EditGeneral


[ Top ]

$log =

[line 91]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]



Class Methods


constructor __construct [line 115]

ClientEdit __construct( )

Constructor



Tags:

access:  public


Overrides ClientPlugin::__construct() (Constructor)

[ Top ]

method buildRequest [line 397]

void buildRequest( )



Tags:

access:  public
see:  ServerCaller::buildRequest()


[ Top ]

method createSession [line 182]

void createSession( MapInfo $mapInfo, InitialMapState $initialMapState)



Tags:

access:  public
see:  Sessionable::createSession()


[ Top ]

method filterGetRequest [line 139]

void filterGetRequest( FilterRequestModifier $request)



Tags:

access:  public


[ Top ]

method filterPostRequest [line 123]

void filterPostRequest( FilterRequestModifier $request)



Tags:

access:  public


[ Top ]

method getArrayFromIni [line 165]

array getArrayFromIni( string $name, [boolean $simple = false])

Returns an array from a comma-separated list of a ini parameter.



Tags:

access:  protected


Parameters:

string   $name   name of ini parameter
boolean   $simple   (default: false) true: returns a simplified array

[ Top ]

method getArrayFromList [line 148]

array getArrayFromList( array $list, [boolean $simple = false])

Returns an array from a comma-separated list string.



Tags:

access:  protected


Parameters:

array   $list  
boolean   $simple   (default: false) true: returns a simplified array

[ Top ]

method getCurrentScale [line 283]

float getCurrentScale( )

Retrieves current scale from location plugin



Tags:

access:  protected


[ Top ]

method getTools [line 479]

array getTools( )

Returns the edit tool : Point, Line and Polygon

Corresponds to the shapeType of the editLayer




Tags:

return:  array of ToolDescription
access:  public
see:  ToolProvider::getTools()


[ Top ]

method handleApplicationTool [line 470]

void handleApplicationTool( ToolDescription $tool)



Tags:

access:  public
see:  ToolProvider::handleApplicationTool()


[ Top ]

method handleHttpGetRequest [line 270]

void handleHttpGetRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpGetRequest()


[ Top ]

method handleHttpPostRequest [line 196]

void handleHttpPostRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpPostRequest()


[ Top ]

method handleKeymapTool [line 462]

void handleKeymapTool( ToolDescription $tool, Shape $keymapShape)



Tags:

access:  public
see:  ToolProvider::handleKeymapTool()


[ Top ]

method handleMainmapTool [line 454]

void handleMainmapTool( ToolDescription $tool, Shape $mainmapShape)



Tags:

access:  public
see:  ToolProvider::handleMainmapTool()


[ Top ]

method handleResult [line 431]

void handleResult( mixed $editResult)



Tags:

access:  public
see:  ServerCaller::handleResult()


[ Top ]

method initializeResult [line 425]

void initializeResult( mixed $editResult)



Tags:

access:  public
see:  ServerCaller::initializeResult()


[ Top ]

method loadSession [line 175]

void loadSession( mixed $sessionObject)



Tags:

access:  public
see:  Sessionable::loadSession()


[ Top ]

method renderForm [line 301]

void renderForm( Smarty $template)



Tags:

access:  public
see:  GuiProvider::renderForm()


[ Top ]

method saveSession [line 189]

void saveSession( )



Tags:

access:  public
see:  Sessionable::saveSession()


[ Top ]

method updateFeaturesArray [line 243]

void updateFeaturesArray( mixed $id, mixed $value)

Updates the editState features array



Tags:

var:  feature id
access:  protected


[ Top ]


Class Constants

TOOL_ADD_VERTEX =  'edit_add_vertex'

[line 108]


[ Top ]

TOOL_DEL_FEATURE =  'edit_del_feature'

[line 110]


[ Top ]

TOOL_DEL_VERTEX =  'edit_del_vertex'

[line 107]


[ Top ]

TOOL_LINE =  'edit_line'

[line 104]


[ Top ]

TOOL_MOVE =  'edit_move'

[line 106]


[ Top ]

TOOL_POINT =  'edit_point'

[line 103]


[ Top ]

TOOL_POLYGON =  'edit_polygon'

[line 105]


[ Top ]

TOOL_SEL =  'edit_sel'

[line 109]


[ Top ]



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