Class Giscuit_Db_Table_Comm

Description

Class for comments table

  • copyright: Copyright (c) 2012 VEC

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

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Comm
Variable Summary
 string $_name
Method Summary
 addItem (integer $part, Zend_Form $data) integer
 count ([array $options = array()]) integer
 getItems (integer $part, [ $options = array()]) Zend_Db_Table_Rowset
Variables
string $_name = 'comm' (line 36)

Table name

  • access: protected

Inherited Variables

Inherited from Giscuit_Db_Table_Abstract

Giscuit_Db_Table_Abstract::$_primary
Methods
addItem (line 94)

Add item

  • return: The id of the new element
  • access: public
integer addItem (integer $part, Zend_Form $data)
  • integer $part: The id of the article related to this comment
  • Zend_Form $data: Comment data
count (line 124)

Count the number of items in the table

  • return: Number of items
  • access: public
integer count ([array $options = array()])
  • array $options: Available options:
    • part integer - The id of the article related to this comment

Redefinition of:
Giscuit_Db_Table_Abstract::count()
Count the number of items in the table
getItems (line 47)

Get items

  • access: public
Zend_Db_Table_Rowset getItems (integer $part, [ $options = array()])
  • integer $part: The id of the article related to this comment
  • array $options: Available options:
    • limitStart integer - Offset of the first row to return
    • limit integer - Maximum number of rows to return

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:01:11 +0000 by phpDocumentor 1.4.3