Reference concrete class that extends Zend_Db_Table_Rowset_Abstract.
Developers may also create their own classes that extend the abstract class.
category | Zend |
---|---|
package | Zend_Db |
subpackage | Table |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Db_Table_Rowset_Abstract |
__construct(array $config)
array
__sleep() : array
array
__wakeup() : void
A de-serialized Rowset should not be assumed to have access to a live database connection, so set _connected = false.
count() : integer
Implements Countable::count()
integer
current() : \Zend_Db_Table_Row_Abstract
Similar to the current() function for arrays in PHP Required by interface Iterator.
\Zend_Db_Table_Row_Abstract
current element from the collectiongetRow(integer $position, boolean $seek = false
) : \Zend_Db_Table_Row
integer
the position of the row expected
boolean
wether or not seek the iterator to that position after
\Zend_Db_Table_Rowset_Exception |
---|
\Zend_Db_Table_Row
getTable() : \Zend_Db_Table_Abstract
\Zend_Db_Table_Abstract
getTableClass() : string
string
init() : void
Called from __construct() as final step of object instantiation.
isConnected() : boolean
boolean
key() : integer
Similar to the key() function for arrays in PHP. Required by interface Iterator.
integer
next() : void
Similar to the next() function for arrays in PHP. Required by interface Iterator.
offsetExists(string $offset) : boolean
string
boolean
offsetGet(string $offset) : \Zend_Db_Table_Row_Abstract
string
\Zend_Db_Table_Row_Abstract
offsetSet(string $offset, mixed $value)
string
mixed
offsetUnset(string $offset)
string
rewind() : \Zend_Db_Table_Rowset_Abstract
Similar to the reset() function for arrays in PHP. Required by interface Iterator.
\Zend_Db_Table_Rowset_Abstract
Fluent interface.seek(integer $position) : \Zend_Db_Table_Rowset_Abstract
integer
the position to seek to
\Zend_Db_Table_Rowset_Exception |
---|
\Zend_Db_Table_Rowset_Abstract
setTable(\Zend_Db_Table_Abstract $table) : boolean
\Zend_Db_Table_Abstract
\Zend_Db_Table_Row_Exception |
---|
boolean
toArray() : array
Updates the $_data property with current row object values.
array
valid() : boolean
Used to check if we've iterated to the end of the collection. Required by interface Iterator.
boolean
False if there's nothing more to iterate over_loadAndReturnRow($position)
$_connected : boolean
true
This is false after the Rowset has been deserialized.
$_count : integer
$_data : array
array()
$_pointer : integer
0
$_readOnly : boolean
false
$_rowClass : string
'Zend_Db_Table_Row'
$_rows : array
array()
$_stored : boolean
false
$_table : \Zend_Db_Table_Abstract
$_tableClass : string