Zend_Db_Table_Row_AbstractImplements interfaces:
Located in /Db/Table/Row/Abstract.php (line 35)
| Class | Description |
|---|---|
Zend_Db_Table_Row
|
Reference concrete class that extends Zend_Db_Table_Row_Abstract. |
Zend_Db_Table_Rowset_Abstract
findDependentRowset
(string|Zend_Db_Table_Abstract $dependentTable, [string $ruleKey = null], [Zend_Db_Table_Select $select = null])
Zend_Db_Table_Rowset_Abstract
findManyToManyRowset
(string|Zend_Db_Table_Abstract $matchTable, string|Zend_Db_Table_Abstract $intersectionTable, [string $callerRefRule = null], [string $matchRefRule = null], [Zend_Db_Table_Select $select = null])
Zend_Db_Table_Row_Abstract
findParentRow
(string|Zend_Db_Table_Abstract $parentTable, [string $ruleKey = null], [Zend_Db_Table_Select $select = null])
array
_prepareReference
(Zend_Db_Table_Abstract $dependentTable, Zend_Db_Table_Abstract $parentTable, string $ruleKey)
array
$_cleanData
= array() (line 54)
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().
boolean
$_connected
= true (line 78)
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.
array
$_data
= array() (line 45)
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.
array
$_modifiedFields
= array() (line 62)
Tracks columns where data has been updated. Allows more specific insert and update operations.
array
$_primary
(line 101)
Primary row key(s).
boolean
$_readOnly
= false (line 87)
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.
Zend_Db_Table_Abstract
$_table
= null (line 69)
Zend_Db_Table_Abstract parent class or instance.
string
$_tableClass
= null (line 94)
Name of the class of the Zend_Db_Table_Abstract object.
Constructor __construct (line 114)
Constructor.
Supported params for $config are:-
delete (line 595)
Deletes existing rows.
findDependentRowset (line 867)
Query a dependent table to retrieve rows matching the current row.
findManyToManyRowset (line 990)
findParentRow (line 923)
Query a parent table to retrieve the single row matching the current row.
getIterator (line 645)
getTable (line 322)
Returns the table object, or null if this is disconnected row
getTableClass (line 375)
Query the class name of the Table object for which this Row was created.
init (line 313)
Initialize object
Called from __construct() as final step of object instantiation.
isConnected (line 385)
Test the connected status of the row.
isReadOnly (line 395)
Test the read-only status of the row.
offsetExists (line 266)
Proxy to __isset Required by the ArrayAccess implementation
offsetGet (line 278)
Proxy to __get Required by the ArrayAccess implementation
offsetSet (line 290)
Proxy to __set Required by the ArrayAccess implementation
offsetUnset (line 301)
Proxy to __unset Required by the ArrayAccess implementation
refresh (line 682)
Refreshes properties from the database.
save (line 430)
Saves the properties to the database.
This performs an intelligent insert/update, and reloads the properties with fresh data from the table on success.
select (line 416)
Returns an instance of the parent table's Zend_Db_Table_Select object.
setFromArray (line 666)
Sets all data in the row from an array.
setReadOnly (line 406)
Set the read-only status of the row.
setTable (line 335)
Set the table object, to re-establish a live connection to the database for a Row that has been de-serialized.
toArray (line 655)
Returns the column/value data as an array.
_delete (line 818)
Allows pre-delete logic to be applied to row.
Subclasses may override this method.
_doInsert (line 448)
_doUpdate (line 506)
_getPrimaryKey (line 707)
Retrieves an associative array of primary keys.
_getTableFromString (line 1168)
_getTableFromString
_getWhereQuery (line 733)
Constructs where statement for retrieving row(s).
_insert (line 778)
Allows pre-insert logic to be applied to row.
Subclasses may override this method.
_postDelete (line 828)
Allows post-delete logic to be applied to row.
Subclasses may override this method.
_postInsert (line 788)
Allows post-insert logic to be applied to row.
Subclasses may override this method.
_postUpdate (line 808)
Allows post-update logic to be applied to row.
Subclasses may override this method.
_prepareReference (line 842)
Prepares a table reference for lookup.
Ensures all reference keys are set and properly formatted.
_refresh (line 757)
Refreshes properties from the database.
_transformColumn (line 157)
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.
_update (line 798)
Allows pre-update logic to be applied to row.
Subclasses may override this method.
__call (line 1108)
Turn magic function calls into non-magic function calls to the above methods.
__get (line 174)
Retrieve row field value
__isset (line 231)
Test existence of row field
__set (line 192)
Set row field value
__sleep (line 242)
Store table, primary key and data in serialized object
__unset (line 210)
Unset row field value
__wakeup (line 254)
Setup to do on wakeup.
A de-serialized Row should not be assumed to have access to a live database connection, so set _connected = false.
Documentation generated on Mon, 21 Jun 2010 15:05:17 -0400 by phpDocumentor 1.4.3