Class Giscuit_Db_Table_Layer_Quickaccess

Description

Class for quickaccess table

  • copyright: Copyright (c) 2012 VEC

Located in /Db/Table/Layer/Quickaccess.php (line 25)

Zend_Db_Table_Abstract
   |
   --Giscuit_Db_Table_Abstract
      |
      --Giscuit_Db_Table_Layer_Abstract
         |
         --Giscuit_Db_Table_Layer_Quickaccess
Class Constant Summary
 INSERT = 1
 UPDATE = 2
Method Summary
 addItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL]) integer
 getItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL]) bool
 getSelect ([string $dump = 'gid_geometry_label'], [ $options = array()]) Zend_Db_Select
 manageMultilangText ( $arr,  $row, [ $action = self::INSERT]) void
 updateItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL]) bool
Variables
Methods
addItemForEditCallback (line 81)

Add item

  • return: Row id
  • access: public
integer addItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL])
  • Zend_Db_Table_Row $row: New row
  • Zend_Form $form: Form object populated with request data

Redefinition of:
Giscuit_Db_Table_Layer_Abstract::addItemForEditCallback()
Add item
deleteItemForEditCallback (line 148)
  • access: public
void deleteItemForEditCallback ( $gid)
  • $gid

Redefinition of:
Giscuit_Db_Table_Layer_Abstract::deleteItemForEditCallback()
Delete item
getItemForEditCallback (line 133)

Get item

  • return: Update/don't update item
  • access: public
bool getItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL])
  • Zend_Db_Table_Row $row: Updated row
  • Zend_Form $form: Form object populated with request data

Redefinition of:
Giscuit_Db_Table_Layer_Abstract::getItemForEditCallback()
Get item
getSelect (line 46)

Get the current select object of table

  • access: public
Zend_Db_Select getSelect ([string $dump = 'gid_geometry_label'], [ $options = array()])
  • string $dump: - What data should be requested from the layer (gid_geometry, gid_geometry_label, all, all_table, count)
  • array $options: Available options:
    • geometryAsWkt bool - Return geometry in WKT format
    • geometryAsGeoJSON bool - Return geometry in GeoJSON format
    • withIntersection string - Table name and geometry field (table.the_geom) that will be intersected with the current geometry. Returns the product of the intersection as the geometry.
    • whereIntersection string - Fetch rows that intersect specified table name and geometry (table.the_geom)
    • whereStm string - Fetch rows that match the specified statement
    • fields array - An array [[name, visibility, expr]] of additional field to fetch
    • form Zend_Form - Edit attributes form object of this layer
    • limit integer - Number of rows to fecth

Redefinition of:
Giscuit_Db_Table_Layer_Abstract::getSelect()
Get the current select object of table
manageMultilangText (line 161)
  • access: public
void manageMultilangText ( $arr,  $row, [ $action = self::INSERT])
  • array $arr
  • $row
  • $action
updateItemForEditCallback (line 104)

Update item

  • return: Update/don't update item
  • access: public
bool updateItemForEditCallback (Zend_Db_Table_Row $row, [Zend_Form $form = NULL])
  • Zend_Db_Table_Row $row: Updated row
  • Zend_Form $form: Form object populated with request data

Redefinition of:
Giscuit_Db_Table_Layer_Abstract::updateItemForEditCallback()
Update item

Inherited Methods

Inherited From Giscuit_Db_Table_Layer_Abstract

 Giscuit_Db_Table_Layer_Abstract::__construct()
 Giscuit_Db_Table_Layer_Abstract::addBbox()
 Giscuit_Db_Table_Layer_Abstract::addItemForEditCallback()
 Giscuit_Db_Table_Layer_Abstract::addLabelFields()
 Giscuit_Db_Table_Layer_Abstract::deleteItemForEditCallback()
 Giscuit_Db_Table_Layer_Abstract::formatInfoResults()
 Giscuit_Db_Table_Layer_Abstract::formatSearchResults()
 Giscuit_Db_Table_Layer_Abstract::getArea()
 Giscuit_Db_Table_Layer_Abstract::getByField()
 Giscuit_Db_Table_Layer_Abstract::getByPoint()
 Giscuit_Db_Table_Layer_Abstract::getDefaultField()
 Giscuit_Db_Table_Layer_Abstract::getItemForEditCallback()
 Giscuit_Db_Table_Layer_Abstract::getItems()
 Giscuit_Db_Table_Layer_Abstract::getMaxAndMinValues()
 Giscuit_Db_Table_Layer_Abstract::getPublicFields()
 Giscuit_Db_Table_Layer_Abstract::getRandomValues()
 Giscuit_Db_Table_Layer_Abstract::getSelect()
 Giscuit_Db_Table_Layer_Abstract::getSettings()
 Giscuit_Db_Table_Layer_Abstract::getUniqueColumnValues()
 Giscuit_Db_Table_Layer_Abstract::init()
 Giscuit_Db_Table_Layer_Abstract::joinTables()
 Giscuit_Db_Table_Layer_Abstract::parseGeometryBeforeUpdate()
 Giscuit_Db_Table_Layer_Abstract::setSettings()
 Giscuit_Db_Table_Layer_Abstract::updateItemForEditCallback()
 Giscuit_Db_Table_Layer_Abstract::_filter()
 Giscuit_Db_Table_Layer_Abstract::_joinTablesCallback()
 Giscuit_Db_Table_Layer_Abstract::_publicFieldsCallback()
 Giscuit_Db_Table_Layer_Abstract::_querybuilder()
 Giscuit_Db_Table_Layer_Abstract::_querybuilderCallback()
 Giscuit_Db_Table_Layer_Abstract::_selectCallback()

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
INSERT = 1 (line 28)
UPDATE = 2 (line 29)

Documentation generated on Wed, 23 Jan 2013 15:54:55 +0000 by phpDocumentor 1.4.3