Class Giscuit_Db_Table_Roles

Description

Class for roles table

  • copyright: Copyright (c) 2012 VEC

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

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Roles
Variable Summary
 string $_name
 string $_primary
 string $_separator
Method Summary
 addItem (Zend_Filter_Input $data) integer
 cleanupRoles () void
 editItem (integer $id, Zend_Filter_Input $data) integer
 getItems () Zend_Db_Table_Rowset
Variables
string $_name = 'roles' (line 43)

Table name

  • access: protected
string $_primary = 'key' (line 50)

Table primary key name

  • access: protected

Redefinition of:
Giscuit_Db_Table_Abstract::$_primary
Table primary key name
string $_separator = ',' (line 36)

Extended roles separator

  • access: protected
Methods
addItem (line 192)

Add item

  • return: The id of the new element
  • access: public
integer addItem (Zend_Filter_Input $data)
  • Zend_Filter_Input $data: A Zend_Filter_Input object populated with request data
cleanupRoles (line 101)

Remove orphan roles and apply proper order

  • access: public
void cleanupRoles ()
editItem (line 76)

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

Get roles

  • access: public
Zend_Db_Table_Rowset getItems ()

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:55:49 +0000 by phpDocumentor 1.4.3