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

Class: ClientTables

Source Location: /coreplugins/tables/client/ClientTables.php

Class Overview

PluginBase
   |
   --ClientPlugin
      |
      --ClientTables

Client part of Tables plugin


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

Class Details

[line 37]
Client part of Tables plugin

Provides table rules registry to client plugins and manages display of tables.




[ Top ]


Class Variables

$log =

[line 43]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$tableGroups = array()

[line 55]

Tables to be displayed



Tags:

var:  array of Table
access:  private

Type:   array


[ Top ]

$tableRulesRegistry =  null

[line 49]

Registry which contains all client side rules



Tags:

access:  private

Type:   TableRulesRegistry


[ Top ]



Class Methods


constructor __construct [line 60]

ClientTables __construct( )

Constructor



Tags:

access:  public


Overrides ClientPlugin::__construct() (Constructor)

[ Top ]

method addTableGroups [line 80]

void addTableGroups( mixed $tables)

Adds table(s) to the list of tables to be displayed



Tags:

access:  public


Parameters:

mixed   $tables   Table or array of Table

[ Top ]

method assignExportCsv [line 128]

void assignExportCsv( Smarty $template)

Sets URL to CSV export



Tags:

access:  private


Parameters:

Smarty   $template  

[ Top ]

method getTable [line 99]

Table getTable( string $groupId, string $tableId)

Returns a table



Tags:

access:  public


Parameters:

string   $groupId  
string   $tableId  

[ Top ]

method getTableRulesRegistry [line 69]

TableRulesRegistry getTableRulesRegistry( )

Returns current table rules registry



Tags:

access:  public


[ Top ]

method handleHttpGetRequest [line 121]

void handleHttpGetRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpGetRequest()


[ Top ]

method handleHttpPostRequest [line 115]

void handleHttpPostRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpPostRequest()


[ Top ]

method renderForm [line 172]

void renderForm( Smarty $template)



Tags:

access:  public
see:  GuiProvider::renderForm()


[ Top ]

method translate [line 145]

array translate( array $tableGroups)

Translates and decodes all tables strings



Tags:

return:  array of translated table groups
access:  private


Parameters:

array   $tableGroups  

[ Top ]


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