Plugins

# Class: ToolTipsLayerBase Source Location: /plugins/toolTips/client/ToolTipsLayerBase.php
### Class Overview
| ### Variables $id $label $returnedAttributes $template | ### Methods __construct getId getLabel getTemplate setId setLabel setTemplate
### Child classes: LayerResult QueryableLayer
### Class Details [line 27] [ Top ] ### Class Variables #### $id = [line 33] Layer Id #### Tags:
access: | protected
Type: | string
[ Top ] #### $label = [line 39] Layer label #### Tags:
access: | protected
Type: | string
[ Top ] #### $returnedAttributes = array() [line 51] Returned attributes and their value #### Tags:
var: | of key => value array representing attributes values
access: | protected
Type: | array
[ Top ] #### $template = 'layerResult.tpl' [line 45] Layer template filename #### Tags:
access: | protected
Type: | string
[ Top ] ### Class Methods ### constructor __construct [line 56]
`ToolTipsLayerBase __construct( )`
Constructor #### Tags:
access: | public
Overridden in child classes as: LayerResult::__construct() Constructor QueryableLayer::__construct() Constructor ByXyQueryableLayer::__construct() Constructor [ Top ] ### method getId [line 70]
`string getId( )`
Gets id. #### Tags:
access: | public
[ Top ] ### method getLabel [line 86]
`string getLabel( )`
Returns label. If not defined, returns id. #### Tags:
access: | public
[ Top ] ### method getTemplate [line 101]
`string getTemplate( )`
Returns the filename of the template used for current layer. #### Tags:
access: | public
[ Top ] ### method setId [line 62]
`void setId( string $id)`
Sets id of the layer. #### Tags:
access: | public
#### Parameters:
string | $id | Id of the layer
[ Top ] ### method setLabel [line 78]
`void setLabel( string $label)`
Sets label of the layer. #### Tags:
access: | public
#### Parameters:
string | $label | Label of the layer
[ Top ] ### method setTemplate [line 93]
`void setTemplate( mixed $template)`
Sets the template file to use for current layer. #### Tags:
access: | public
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:10 +0200 by phpDocumentor 1.3.0RC3