Class Giscuit_Db_Table_RoutingCostColumns

Description

Abstract class for routing cost columns table

  • copyright: Copyright (c) 2012 VEC

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

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Multilang
         |
         --Giscuit_Db_Table_RoutingCostColumns
Variable Summary
Method Summary
 addItem (Zend_Filter_Input $data) Zend_Db_Table_Row
 checkCurrUserOwnCostColumn (integer $id) void
 editItem (integer $id, Zend_Filter_Input $data) integer
 getItems ([ $options = array()]) Zend_Db_Table_Rowset
 whereLayerId (Zend_Db_Select $select, [ $options = array()]) void
Variables
array $_multilangTextColumns = array('name') (line 42)

Names of multilang fields inside the table

  • access: protected

Redefinition of:
Giscuit_Db_Table_Multilang::$_multilangTextColumns
Contains the names of multilang fields inside the table
string $_name = 'routing_cost_columns' (line 35)

Table name

  • access: protected

Inherited Variables

Inherited from Giscuit_Db_Table_Abstract

Giscuit_Db_Table_Abstract::$_primary
Methods
addItem (line 108)

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
checkCurrUserOwnCostColumn (line 142)

Check if cost column belongs to current user

  • access: public
void checkCurrUserOwnCostColumn (integer $id)
  • integer $id: Cost column id
editItem (line 89)

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

Get items

  • access: public
Zend_Db_Table_Rowset getItems ([ $options = array()])
  • array $options: Available options:
    • withCurrentLanguage bool - Get elements in current language only
whereLayerId (line 127)

Fetch rows that match the layer id

  • access: public
void whereLayerId (Zend_Db_Select $select, [ $options = array()])
  • Zend_Db_Select $select
  • array $options: Available options:
    • whereLayerId integer - If option is set selects row with given layer id

Inherited Methods

Inherited From Giscuit_Db_Table_Multilang

 Giscuit_Db_Table_Multilang::addMultilangFields()
 Giscuit_Db_Table_Multilang::delete()
 Giscuit_Db_Table_Multilang::getMultilangPostData()
 Giscuit_Db_Table_Multilang::manageMultilangText()
 Giscuit_Db_Table_Multilang::withMultilangFields()

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()
Class Constants

Documentation generated on Mon, 19 Aug 2013 07:50:24 +0000 by phpDocumentor 1.4.3