Methods summary
public
|
|
public
array
|
#
__sleep( )
Store data, class names, and state in serialized object
Store data, class names, and state in serialized object
Returns
array
|
public
|
#
__wakeup( )
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.
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.
|
public
|
|
public
boolean
|
#
isConnected( )
Return the connected state of the rowset.
Return the connected state of the rowset.
Returns
boolean
|
public
Zend_Db_Table_Abstract
|
#
getTable( )
Returns the table object, or null if this is disconnected rowset
Returns the table object, or null if this is disconnected rowset
Returns
|
public
boolean
|
#
setTable( Zend_Db_Table_Abstract $table )
Set the table object, to re-establish a live connection to the database for a
Rowset that has been de-serialized.
Set the table object, to re-establish a live connection to the database for a
Rowset that has been de-serialized.
Parameters
Returns
boolean
Throws
|
public
string
|
#
getTableClass( )
Query the class name of the Table object for which this Rowset was
created.
Query the class name of the Table object for which this Rowset was
created.
Returns
string
|
public
Zend_Db_Table_Rowset_Abstract
|
#
rewind( )
Rewind the Iterator to the first element. Similar to the reset() function for
arrays in PHP. Required by interface Iterator.
Rewind the Iterator to the first element. Similar to the reset() function for
arrays in PHP. Required by interface Iterator.
Returns
Implementation of
|
public
Zend_Db_Table_Row_Abstract
|
#
current( )
Return the current element. Similar to the current() function for arrays in
PHP Required by interface Iterator.
Return the current element. Similar to the current() function for arrays in
PHP Required by interface Iterator.
Returns
Implementation of
|
public
integer
|
#
key( )
Return the identifying key of the current element. Similar to the key()
function for arrays in PHP. Required by interface Iterator.
Return the identifying key of the current element. Similar to the key()
function for arrays in PHP. Required by interface Iterator.
Returns
integer
Implementation of
|
public
|
#
next( )
Move forward to next element. Similar to the next() function for arrays in
PHP. Required by interface Iterator.
Move forward to next element. Similar to the next() function for arrays in
PHP. Required by interface Iterator.
Implementation of
|
public
boolean
|
#
valid( )
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.
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.
Returns
boolean False if there's nothing more to iterate over
Implementation of
|
public
integer
|
#
count( )
Returns the number of elements in the collection.
Returns the number of elements in the collection.
Implements Countable::count()
Returns
integer
Implementation of
|
public
Zend_Db_Table_Rowset_Abstract
|
#
seek( integer $position )
Take the Iterator to position $position Required by interface
SeekableIterator.
Take the Iterator to position $position Required by interface
SeekableIterator.
Parameters
- $position
integer the position to seek to
Returns
Throws
Implementation of
|
public
boolean
|
#
offsetExists( string $offset )
Check if an offset exists Required by the ArrayAccess implementation
Check if an offset exists Required by the ArrayAccess implementation
Parameters
Returns
boolean
Implementation of
|
public
Zend_Db_Table_Row_Abstract
|
#
offsetGet( string $offset )
Get the row for the given offset Required by the ArrayAccess
implementation
Get the row for the given offset Required by the ArrayAccess
implementation
Parameters
Returns
Implementation of
|
public
|
#
offsetSet( string $offset, mixed $value )
Does nothing Required by the ArrayAccess implementation
Does nothing Required by the ArrayAccess implementation
Parameters
- $offset
string
- $value
mixed
Implementation of
|
public
|
#
offsetUnset( string $offset )
Does nothing Required by the ArrayAccess implementation
Does nothing Required by the ArrayAccess implementation
Parameters
Implementation of
|
public
Zend_Db_Table_Row
|
#
getRow( integer $position, boolean $seek = false )
Returns a Zend_Db_Table_Row from a known position into the Iterator
Returns a Zend_Db_Table_Row from a known position into the Iterator
Parameters
- $position
integer the position of the row expected
- $seek
boolean wether or not seek the iterator to that position after
Returns
Throws
|
public
array
|
#
toArray( )
Returns all data as an array.
Returns all data as an array.
Updates the $_data property with current row object values.
Returns
array
|
protected
|
|
Properties summary
protected
array
|
$_data
|
array() |
#
The original data for each row.
The original data for each row.
|
protected
Zend_Db_Table_Abstract
|
$_table
|
|
#
Zend_Db_Table_Abstract object.
Zend_Db_Table_Abstract object.
|
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.
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
string
|
$_tableClass
|
|
#
Zend_Db_Table_Abstract class name.
Zend_Db_Table_Abstract class name.
|
protected
string
|
$_rowClass
|
'Zend_Db_Table_Row' |
#
Zend_Db_Table_Row_Abstract class name.
Zend_Db_Table_Row_Abstract class name.
|
protected
integer
|
$_pointer
|
0 |
|
protected
integer
|
$_count
|
|
#
How many data rows there are.
How many data rows there are.
|
protected
array
|
$_rows
|
array() |
#
Collection of instantiated Zend_Db_Table_Row objects.
Collection of instantiated Zend_Db_Table_Row objects.
|
protected
boolean
|
$_stored
|
false |
|
protected
boolean
|
$_readOnly
|
false |
|