Implements interfaces:
Located in /Db/Table/Row/Abstract.php (line 35)
Class | Description |
---|---|
![]() |
Reference concrete class that extends Zend_Db_Table_Row_Abstract. |
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().
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.
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.
Tracks columns where data has been updated. Allows more specific insert and update operations.
Primary row key(s).
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 parent class or instance.
Name of the class of the Zend_Db_Table_Abstract object.
Constructor.
Supported params for $config are:-
Deletes existing rows.
Query a dependent table to retrieve rows matching the current row.
Query a parent table to retrieve the single row matching the current row.
Returns the table object, or null if this is disconnected row
Query the class name of the Table object for which this Row was created.
Initialize object
Called from __construct() as final step of object instantiation.
Test the connected status of the row.
Test the read-only status of the row.
Proxy to __isset Required by the ArrayAccess implementation
Proxy to __get Required by the ArrayAccess implementation
Proxy to __set Required by the ArrayAccess implementation
Proxy to __unset Required by the ArrayAccess implementation
Refreshes properties from the database.
Saves the properties to the database.
This performs an intelligent insert/update, and reloads the properties with fresh data from the table on success.
Returns an instance of the parent table's Zend_Db_Table_Select object.
Sets all data in the row from an array.
Set the read-only status of the row.
Set the table object, to re-establish a live connection to the database for a Row that has been de-serialized.
Returns the column/value data as an array.
Allows pre-delete logic to be applied to row.
Subclasses may override this method.
Retrieves an associative array of primary keys.
_getTableFromString
Constructs where statement for retrieving row(s).
Allows pre-insert logic to be applied to row.
Subclasses may override this method.
Allows post-delete logic to be applied to row.
Subclasses may override this method.
Allows post-insert logic to be applied to row.
Subclasses may override this method.
Allows post-update logic to be applied to row.
Subclasses may override this method.
Prepares a table reference for lookup.
Ensures all reference keys are set and properly formatted.
Refreshes properties from the database.
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.
Allows pre-update logic to be applied to row.
Subclasses may override this method.
Turn magic function calls into non-magic function calls to the above methods.
Retrieve row field value
Test existence of row field
Set row field value
Store table, primary key and data in serialized object
Unset row field value
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