Class Giscuit_Db_Table_Fields

Description

Class for fields table

  • copyright: Copyright (c) 2012 VEC

Located in /Db/Table/Fields.php (line 28)

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Fields
Variable Summary
 string $_name
 string $_primary
Method Summary
 addInitial (mixed $table) Zend_Db_Table_Row
 addItem (Zend_Filter_Input $data) Zend_Db_Table_Row
 checkCurrUserOwnField (integer $id) void
 editItem (integer $id, Zend_Filter_Input $data) integer
 getItems ([ $options = array()]) Zend_Db_Table_Rowset
Variables
string $_name = 'fields' (line 36)

Table name

  • access: protected
string $_primary = 'id' (line 43)

Table primary key name

  • access: protected

Redefinition of:
Giscuit_Db_Table_Abstract::$_primary
Table primary key name
array $_privateFields = array(
'gid' ,
'the_geom'
)
(line 50)

Private fields

  • access: protected
Methods
addInitial (line 155)

Add initial fields of the given geometry

  • access: public
Zend_Db_Table_Row addInitial (mixed $table)
  • mixed $table: Table settings
addItem (line 136)

Add item

  • access: public
Zend_Db_Table_Row addItem (Zend_Filter_Input $data)
  • Zend_Filter_Input $data: A Zend_Filter_Input object populated with request data
checkCurrUserOwnField (line 196)

Check if field belongs to current user

  • access: public
void checkCurrUserOwnField (integer $id)
  • integer $id: Field id
editItem (line 104)

Update item

  • return: The id of the element
  • access: public
integer editItem (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
getItems (line 63)

Get fields

  • access: public
Zend_Db_Table_Rowset getItems ([ $options = array()])
  • array $options: Available options:

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 Mon, 19 Aug 2013 07:50:15 +0000 by phpDocumentor 1.4.3