Class Giscuit_Db_Table_Rules

Description

Class for rules table

  • copyright: Copyright (c) 2012 VEC

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

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Rules
Variable Summary
 string $_name
 string $_primary
Method Summary
 addItem () integer
 editItem (integer $id, Zend_Filter_Input $data) integer
 getItems ([ $options = array()]) Zend_Db_Table_Rowset
Variables
string $_name = 'rules' (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
Methods
addItem (line 117)

Add item

  • return: Id of the new item
  • access: public
integer addItem ()
editItem (line 96)

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 53)

Get rules

  • access: public
Zend_Db_Table_Rowset getItems ([ $options = array()])
  • array $options: Available options:
    • getResourceList string - Get only resource list that match the given group
    • getPrivilegeList string - Get only priviledge list match the given resource

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 Wed, 23 Jan 2013 15:56:06 +0000 by phpDocumentor 1.4.3