Public Member Functions | |
PHPTAL_DBResultIterator (&$result) | |
reset () | |
size () | |
isValid () | |
& | next () |
& | value () |
index () | |
Public Attributes | |
$_src | |
$_index = -1 | |
$_end = false | |
$_value |
This class is an implementation of the Iterator Interface for DB_Result objects produced by the usage of PEAR::DB package.
Definition at line 269 of file LoopControler.php.
|
Iterator constructor.
Definition at line 282 of file LoopControler.php. References reset(). |
|
Return current row index in resultset.
Reimplemented from Iterator. Definition at line 358 of file LoopControler.php. |
|
Returns true if end of iterator has not been reached yet. Reimplemented from Iterator. Definition at line 317 of file LoopControler.php. |
|
Return the next row in this result. This method calls fetchRow() on the DB_Result, the return type depends of the DB_result->fetchmod. Please specify it before executing the template.
Reimplemented from Iterator. Definition at line 331 of file LoopControler.php. References size(). |
|
Reset iterator to first item. This method should throw an exception for once only iterators.
Reimplemented from Iterator. Definition at line 288 of file LoopControler.php. References size(). Referenced by PHPTAL_DBResultIterator(). |
|
Return the number of rows in this result.
Definition at line 306 of file LoopControler.php. |
|
Return current row.
Reimplemented from Iterator. Definition at line 348 of file LoopControler.php. |
|
Definition at line 273 of file LoopControler.php. |
|
Definition at line 272 of file LoopControler.php. |
|
Definition at line 271 of file LoopControler.php. |
|
Definition at line 274 of file LoopControler.php. |