Class Giscuit_Db_Table_LayerSettings

Description

Class for layers settings table

Layer settings represent all the user specific layer configurations like view, select, edit, label (color, size, field), order

  • copyright: Copyright (c) 2012 VEC

Located in /Db/Table/LayerSettings.php (line 31)

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_LayerSettings
Variable Summary
 string $_name
Method Summary
 addItem (Zend_Db_Table_Row $row) integer
 cleanupLabelFields (string $oldName, string $newName) void
 editItem (integer $id, mixed $values) void
 editSingleItem (integer $id, Zend_Filter_Input $data) void
 getCurrentUserRowByLayerId (integer $id) Zend_Db_Table_Row
 getPrivateItems () array
 getPublicItems () array
 _removeEmptyContainers (Zend_Db_Table_Rowset $rows) Zend_Db_Table_Rowset
Variables
string $_name = 'layer_settings' (line 39)

Table name

  • access: protected

Inherited Variables

Inherited from Giscuit_Db_Table_Abstract

Giscuit_Db_Table_Abstract::$_primary
Methods
addItem (line 47)

Add item

  • return: The id of the new element
  • access: public
integer addItem (Zend_Db_Table_Row $row)
  • Zend_Db_Table_Row $row: Add row
cleanupLabelFields (line 136)

Cleanup label fields

  • access: public
void cleanupLabelFields (string $oldName, string $newName)
  • string $oldName
  • string $newName
editItem (line 516)

Edit label settings

  • access: public
void editItem (integer $id, mixed $values)
  • integer $id: The id of the row to edit
  • mixed $values: Data
editSingleItem (line 91)

Update item

  • access: public
void editSingleItem (integer $id, Zend_Filter_Input $data)
  • integer $id: The id of the row to edit
  • Zend_Filter_Input $data: A Zend_Filter_Input object populated with request data
getCurrentUserRowByLayerId (line 162)

Get layer settings for the current user

  • access: public
Zend_Db_Table_Row getCurrentUserRowByLayerId (integer $id)
  • integer $id: Id of the layer
getPrivateItems (line 187)

Get private layers

  • access: public
array getPrivateItems ()
getPublicItems (line 321)

Get public layers

  • access: public
array getPublicItems ()
_removeEmptyContainers (line 484)

Remove empty containers

  • access: protected
Zend_Db_Table_Rowset _removeEmptyContainers (Zend_Db_Table_Rowset $rows)
  • Zend_Db_Table_Rowset $rows

Inherited Methods

Inherited From Giscuit_Db_Table_Abstract

 Giscuit_Db_Table_Abstract::__construct()
 Giscuit_Db_Table_Abstract::count()
 Giscuit_Db_Table_Abstract::getPrimaryKey()
 Giscuit_Db_Table_Abstract::joinMultilangField()
 Giscuit_Db_Table_Abstract::moveItem()
 Giscuit_Db_Table_Abstract::whereActive()
 Giscuit_Db_Table_Abstract::whereCurrentUser()
 Giscuit_Db_Table_Abstract::whereId()

Documentation generated on Fri, 23 Nov 2012 13:02:54 +0000 by phpDocumentor 1.4.3