Zend_Db_Table_Rowset_AbstractImplements interfaces:
Located in /Db/Table/Rowset/Abstract.php (line 30)
| Class | Description |
|---|---|
Zend_Db_Table_Rowset
|
Reference concrete class that extends Zend_Db_Table_Rowset_Abstract. |
boolean
$_connected
= true (line 53)
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.
integer
$_count
(line 81)
How many data rows there are.
array
$_data
= array() (line 37)
The original data for each row.
integer
$_pointer
= 0 (line 74)
Iterator pointer.
boolean
$_readOnly
= false (line 98)
string
$_rowClass
= 'Zend_Db_Table_Row' (line 67)
Zend_Db_Table_Row_Abstract class name.
array
$_rows
= array() (line 88)
Collection of instantiated Zend_Db_Table_Row objects.
boolean
$_stored
= false (line 93)
Zend_Db_Table_Abstract
$_table
(line 44)
Zend_Db_Table_Abstract object.
string
$_tableClass
(line 60)
Zend_Db_Table_Abstract class name.
Constructor __construct (line 105)
Constructor.
count (line 307)
Returns the number of elements in the collection.
Implements Countable::count()
current (line 242)
Return the current element.
Similar to the current() function for arrays in PHP Required by interface Iterator.
getRow (line 386)
Returns a Zend_Db_Table_Row from a known position into the Iterator
getTable (line 183)
Returns the table object, or null if this is disconnected rowset
getTableClass (line 217)
Query the class name of the Table object for which this Rowset was created.
init (line 164)
Initialize object
Called from __construct() as final step of object instantiation.
isConnected (line 173)
Return the connected state of the rowset.
key (line 271)
Return the identifying key of the current element.
Similar to the key() function for arrays in PHP. Required by interface Iterator.
next (line 283)
Move forward to next element.
Similar to the next() function for arrays in PHP. Required by interface Iterator.
offsetExists (line 338)
Check if an offset exists Required by the ArrayAccess implementation
offsetGet (line 350)
Get the row for the given offset Required by the ArrayAccess implementation
offsetSet (line 364)
Does nothing Required by the ArrayAccess implementation
offsetUnset (line 374)
Does nothing Required by the ArrayAccess implementation
rewind (line 229)
Rewind the Iterator to the first element.
Similar to the reset() function for arrays in PHP. Required by interface Iterator.
seek (line 320)
Take the Iterator to position $position Required by interface SeekableIterator.
setTable (line 196)
Set the table object, to re-establish a live connection to the database for a Rowset that has been de-serialized.
toArray (line 409)
Returns all data as an array.
Updates the $_data property with current row object values.
valid (line 295)
Check if there is a current element after calls to rewind() or next().
Used to check if we've iterated to the end of the collection. Required by interface Iterator.
__sleep (line 139)
Store data, class names, and state in serialized object
__wakeup (line 152)
Setup to do on wakeup.
A de-serialized Rowset 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:49 -0400 by phpDocumentor 1.4.3