Class Bvb_Grid_Source_Zend_Table

Description

LICENSE

This source file is subject to the new BSD license It is available through the world-wide-web at this URL: http://www.petala-azul.com/bsd.txt If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to geral@petala-azul.com so we can send you a copy immediately.

Located in /Grid/Source/Zend/Table.php (line 21)

Bvb_Grid_Source_Db_DbAbstract
   |
   --Bvb_Grid_Source_Zend_Select
      |
      --Bvb_Grid_Source_Zend_Table
Variable Summary
Method Summary
$this __construct ( $model, [ $relationMap = array()], array $relationmap)
array buildForm ([array $inputsType = array()])
void delete ( $table,  $condition)
array execute ()
void fetchDetail ( $where)
array getIdentifierColumns ( $table)
Zend_Db_Table getModel ()
void getRecord ( $table,  $condition)
array getRelationMap ()
void insert ( $table,  $post)
void update ( $table,  $post,  $condition)
Variables
Methods
Constructor __construct (line 79)

Creating a query using a Model.

  • access: public
$this __construct ( $model, [ $relationMap = array()], array $relationmap)
  • Zend_Db_Table_Abstract $model
  • array $relationmap: Relation map for joins
  • array $relationMap

Redefinition of:
Bvb_Grid_Source_Zend_Select::__construct()
Class construct.
buildForm (line 62)

Builds form input types

  • access: public
array buildForm ([array $inputsType = array()])
  • array $inputsType: Elements input types

Redefinition of:
Bvb_Grid_Source_Zend_Select::buildForm()
Builds form
delete (line 278)
  • access: public
void delete ( $table,  $condition)
  • $table
  • array $condition

Redefinition of:
Bvb_Grid_Source_Zend_Select::delete()
Deletes a record from the database
execute (line 225)

Executes the current query and returns an associative array of results

  • access: public
array execute ()

Redefinition of:
Bvb_Grid_Source_Zend_Select::execute()
Executes the current query and returns an associative array of results
fetchDetail (line 251)
  • access: public
void fetchDetail ( $where)
  • array $where

Redefinition of:
Bvb_Grid_Source_Zend_Select::fetchDetail()
Get full details for a given record
getIdentifierColumns (line 332)

Get the primary table key This is important because we only allow edit, add or remove records From tables that have on primary key

  • access: public
array getIdentifierColumns ( $table)
  • $table

Redefinition of:
Bvb_Grid_Source_Zend_Select::getIdentifierColumns()
Get the primary table key This is important because we only allow edit, add or remove records From tables that have on primary key
getModel (line 38)

Returns current model

  • access: public
Zend_Db_Table getModel ()
getRecord (line 195)
  • access: public
void getRecord ( $table,  $condition)
  • $table
  • array $condition

Redefinition of:
Bvb_Grid_Source_Zend_Select::getRecord()
Returns a specified record
getRelationMap (line 49)

Returns current relationmap

  • access: public
array getRelationMap ()
insert (line 312)
  • access: public
void insert ( $table,  $post)
  • $table
  • array $post

Redefinition of:
Bvb_Grid_Source_Zend_Select::insert()
Inserts a new record in the database
update (line 298)
  • access: public
void update ( $table,  $post,  $condition)
  • $table
  • array $post
  • array $condition

Redefinition of:
Bvb_Grid_Source_Zend_Select::update()
Updates a given record

Inherited Methods

Inherited From Bvb_Grid_Source_Zend_Select

Bvb_Grid_Source_Zend_Select::__construct()
Bvb_Grid_Source_Zend_Select::addCondition()
Bvb_Grid_Source_Zend_Select::addFullTextSearch()
Bvb_Grid_Source_Zend_Select::beginTransaction()
Bvb_Grid_Source_Zend_Select::buildFields()
Bvb_Grid_Source_Zend_Select::buildForm()
Bvb_Grid_Source_Zend_Select::buildFormElements()
Bvb_Grid_Source_Zend_Select::buildQueryLimit()
Bvb_Grid_Source_Zend_Select::buildQueryOrder()
Bvb_Grid_Source_Zend_Select::buildWhereCondition()
Bvb_Grid_Source_Zend_Select::commit()
Bvb_Grid_Source_Zend_Select::delete()
Bvb_Grid_Source_Zend_Select::execute()
Bvb_Grid_Source_Zend_Select::fetchDetail()
Bvb_Grid_Source_Zend_Select::getAutoCompleteForFilter()
Bvb_Grid_Source_Zend_Select::getColumns()
Bvb_Grid_Source_Zend_Select::getConnectionId()
Bvb_Grid_Source_Zend_Select::getDescribeTable()
Bvb_Grid_Source_Zend_Select::getDistinctValuesForFilters()
Bvb_Grid_Source_Zend_Select::getFieldType()
Bvb_Grid_Source_Zend_Select::getFilterValuesBasedOnFieldDefinition()
Bvb_Grid_Source_Zend_Select::getIdentifierColumns()
Bvb_Grid_Source_Zend_Select::getMainTable()
Bvb_Grid_Source_Zend_Select::getMassActionsIds()
Bvb_Grid_Source_Zend_Select::getRecord()
Bvb_Grid_Source_Zend_Select::getSelectObject()
Bvb_Grid_Source_Zend_Select::getSelectOrder()
Bvb_Grid_Source_Zend_Select::getSourceName()
Bvb_Grid_Source_Zend_Select::getSqlExp()
Bvb_Grid_Source_Zend_Select::getTableList()
Bvb_Grid_Source_Zend_Select::getTotalRecords()
Bvb_Grid_Source_Zend_Select::getValuesForFiltersFromTable()
Bvb_Grid_Source_Zend_Select::hasCrud()
Bvb_Grid_Source_Zend_Select::init()
Bvb_Grid_Source_Zend_Select::insert()
Bvb_Grid_Source_Zend_Select::quoteValue()
Bvb_Grid_Source_Zend_Select::resetLimit()
Bvb_Grid_Source_Zend_Select::resetOrder()
Bvb_Grid_Source_Zend_Select::rollBack()
Bvb_Grid_Source_Zend_Select::setCache()
Bvb_Grid_Source_Zend_Select::setTotalRecords()
Bvb_Grid_Source_Zend_Select::update()
Bvb_Grid_Source_Zend_Select::_getDb()
Bvb_Grid_Source_Zend_Select::_prepareExecute()
Bvb_Grid_Source_Zend_Select::_setDb()

Inherited From Bvb_Grid_Source_Db_DbAbstract

Bvb_Grid_Source_Db_DbAbstract::buildFormElementsFromArray()

Documentation generated on Sun, 17 Jul 2011 02:36:19 +0200 by phpDocumentor 1.4.3