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

Class: ClientQuery

Source Location: /coreplugins/query/client/ClientQuery.php

Class Overview

PluginBase
   |
   --ClientPlugin
      |
      --ClientQuery

Client part of Query plugin


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::replacePlugin()
Returns name of parent plugin in case of plugin extension
PluginBase::setBasePath()
PluginBase::setExtendedName()
PluginBase::setName()

Class Details

[line 52]
Client part of Query plugin



[ Top ]


Class Variables

$bbox =

[line 68]



Tags:

access:  private

Type:   Bbox


[ Top ]

$log =

[line 58]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$queryState =

[line 63]



Tags:

access:  private

Type:   QueryState


[ Top ]



Class Methods


method addDefaultQuerySelection [line 240]

void addDefaultQuerySelection( string $layerId)

Adds a QuerySelection with default values



Tags:

access:  private


Parameters:

string   $layerId  

[ Top ]

method adjustExportMapRequest [line 554]

void adjustExportMapRequest( ExportConfiguration $configuration, MapRequest $mapRequest)



Tags:

access:  public
see:  Exportable::adjustExportMapRequest()


[ Top ]

method buildMapRequest [line 433]

void buildMapRequest( mixed $mapRequest)



Tags:

access:  public
see:  ServerCaller::buildMapRequest()


[ Top ]

method clearSession [line 118]

void clearSession( )

Reinitializes session content



Tags:

access:  private


[ Top ]

method createSession [line 105]

void createSession( MapInfo $mapInfo, InitialMapState $initialMapState)



Tags:

access:  public
see:  Sessionable::createSession()


[ Top ]

constructor __construct [line 87]

ClientQuery __construct( )

Constructor



Tags:

access:  public


Overrides ClientPlugin::__construct() (Constructor)

[ Top ]

method drawQuery [line 500]

string drawQuery( )

Displays Query form



Tags:

return:  HTML generated by Smarty
access:  private


[ Top ]

method findQuerySelection [line 225]

QuerySelection findQuerySelection( string $layerId)

Finds QuerySelection for a layer Id

Returns null if no QuerySelection was found.




Tags:

access:  private


Parameters:

string   $layerId  

[ Top ]

method getLayers [line 182]

void getLayers( array &$queryLayers, array &$queryLayersLabel)

Returns layers Ids and labels from MapInfo



Tags:

access:  private


Parameters:

array   &$queryLayers   layers
array   &$queryLayersLabel   layer labels

[ Top ]

method getTools [line 170]

void getTools( )



Tags:

access:  public
see:  ToolProvider::getTools()


[ Top ]

method handleCompleteForm [line 337]

void handleCompleteForm( QueryRequest $request)

Handles parameters coming from complete form



Tags:

access:  private


Parameters:

QueryRequest   $request  

[ Top ]

method handleHttpGetRequest [line 423]

void handleHttpGetRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpGetRequest()


[ Top ]

method handleHttpPostRequest [line 403]

void handleHttpPostRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpPostRequest()


[ Top ]

method handleKeymapTool [line 162]

void handleKeymapTool( ToolDescription $tool, Shape $keymapShape)



Tags:

access:  public
see:  ToolProvider::handleKeymapTool()


[ Top ]

method handleMainmapTool [line 143]

void handleMainmapTool( ToolDescription $tool, Shape $mainmapShape)



Tags:

access:  public
see:  ToolProvider::handleMainmapTool()


[ Top ]

method handleQuery [line 211]

void handleQuery( array $request, [boolean $check = false])

Handles variables that can be posted by POST or by GET



Tags:

access:  private


Parameters:

array   $request  
boolean   $check  

[ Top ]

method handleResult [line 469]

void handleResult( mixed $queryResult)



Tags:

access:  public
see:  ServerCaller::handleResult()


[ Top ]

method handleStandardParameters [line 263]

void handleStandardParameters( QueryRequest $request, [boolean $check = false])

Handles standard parameters



Tags:

access:  private


Parameters:

QueryRequest   $request  
boolean   $check  

[ Top ]

method initializeResult [line 456]

void initializeResult( mixed $queryResult)



Tags:

access:  public
see:  ServerCaller::initializeResult()


[ Top ]

method loadSession [line 95]

void loadSession( mixed $sessionObject)



Tags:

access:  public
see:  Sessionable::loadSession()


[ Top ]

method processResult [line 478]

QueryResult processResult( QueryResult $queryResult)

Process a query result

Updates query selections depending on returned tables.




Tags:

access:  private


Parameters:

QueryResult   $queryResult  

[ Top ]

method renderForm [line 545]

void renderForm( Smarty $template)



Tags:

access:  public
see:  GuiProvider::renderForm()


[ Top ]

method saveSession [line 127]

void saveSession( )



Tags:

access:  public
see:  Sessionable::saveSession()


[ Top ]


Class Constants

DEFAULT_ATTRIBUTES =  true

[line 81]


[ Top ]

DEFAULT_HILIGHT =  true

[line 80]


[ Top ]

DEFAULT_MASKMODE =  false

[line 79]


[ Top ]

DEFAULT_POLICY =  QuerySelection::POLICY_XOR

[line 78]

Default flags for queries


[ Top ]

DEFAULT_TABLE =  true

[line 82]


[ Top ]

TOOL_QUERY =  'query'

[line 73]

Query tool name


[ Top ]



Documentation generated on Wed, 6 Apr 2005 12:06:35 +0200 by phpDocumentor 1.3.0RC3