Class Zend_Db_Table_Row_Abstract
- Zend_Db_Table_Row_Abstract implements ArrayAccess, IteratorAggregate
Direct known subclasses
Zend_Db_Table_RowPackage: Zend\Db\Table
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Table/Row/Abstract.php
public
|
|
protected
string
|
#
_transformColumn( string $columnName )
Transform a column name from the user-specified form to the physical form used in the database. You can override this method in a custom Row class to implement column name mappings, for example inflection. |
public
string
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
setTable(
Set the table object, to re-establish a live connection to the database for a Row that has been de-serialized. |
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
mixed
|
|
protected
mixed
|
|
protected
mixed
|
|
public
integer
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
protected
|
|
protected
array
|
|
protected
array
|
|
protected
|
|
protected
|
|
protected
|
#
_postInsert( )
Allows post-insert logic to be applied to row. Subclasses may override this method. |
protected
|
|
protected
|
#
_postUpdate( )
Allows post-update logic to be applied to row. Subclasses may override this method. |
protected
|
|
protected
|
#
_postDelete( )
Allows post-delete logic to be applied to row. Subclasses may override this method. |
protected
array
|
#
_prepareReference(
Prepares a table reference for lookup. |
public
|
#
findDependentRowset( string|
Query a dependent table to retrieve rows matching the current row. |
public
|
#
findParentRow( string|
Query a parent table to retrieve the single row matching the current row. |
public
|
#
findManyToManyRowset( string|
|
public
|
|
protected
|
protected
array
|
$_data | array() |
#
The data for each column in the row (column_name => value). The keys must match the physical names of columns in the table for which this row is defined. |
protected
array
|
$_cleanData | array() |
#
This is set to a copy of $_data when the data is fetched from a database, specified as a new tuple in the constructor, or when dirty data is posted to the database with save(). |
protected
array
|
$_modifiedFields | array() |
#
Tracks columns where data has been updated. Allows more specific insert and update operations. |
protected
|
$_table | null |
#
Zend_Db_Table_Abstract parent class or instance. |
protected
boolean
|
$_connected | true |
#
Connected is true if we have a reference to a live Zend_Db_Table_Abstract object. This is false after the Rowset has been deserialized. |
protected
boolean
|
$_readOnly | false |
#
A row is marked read only if it contains columns that are not physically represented within the database schema (e.g. evaluated columns/Zend_Db_Expr columns). This can also be passed as a run-time config options as a means of protecting row data. |
protected
string
|
$_tableClass | null |
#
Name of the class of the Zend_Db_Table_Abstract object. |
protected
array
|
$_primary |
|
#
Primary row key(s). |