|
ILIAS
Release_4_0_x_branch Revision 61816
|
Inheritance diagram for MDB2_Iterator:
Collaboration diagram for MDB2_Iterator:Public Member Functions | |
| __construct ($result, $fetchmode=MDB2_FETCHMODE_DEFAULT) | |
| Constructor. | |
| seek ($rownum) | |
| Seek forward to a specific row in a result set. | |
| next () | |
| Fetch next row of data. | |
| current () | |
| return a row of data | |
| valid () | |
| Check if the end of the result set has been reached. | |
| free () | |
| Free the internal resources associated with result. | |
| key () | |
| Returns the row number. | |
| rewind () | |
| Seek to the first row in a result set. | |
| __destruct () | |
| Destructor. | |
Protected Attributes | |
| $fetchmode | |
| $result | |
| $row | |
Definition at line 54 of file Iterator.php.
| MDB2_Iterator::__construct | ( | $result, | |
$fetchmode = MDB2_FETCHMODE_DEFAULT |
|||
| ) |
| MDB2_Iterator::__destruct | ( | ) |
Destructor.
Definition at line 194 of file Iterator.php.
References free().
Here is the call graph for this function:| MDB2_Iterator::current | ( | ) |
return a row of data
Definition at line 113 of file Iterator.php.
References $row, and PEAR\isError().
Referenced by valid().
Here is the call graph for this function:
Here is the caller graph for this function:| MDB2_Iterator::free | ( | ) |
Free the internal resources associated with result.
Definition at line 148 of file Iterator.php.
Referenced by __destruct().
Here is the caller graph for this function:| MDB2_Iterator::key | ( | ) |
Returns the row number.
Definition at line 167 of file Iterator.php.
| MDB2_Iterator::next | ( | ) |
Fetch next row of data.
Definition at line 99 of file Iterator.php.
| MDB2_Iterator::rewind | ( | ) |
Seek to the first row in a result set.
Reimplemented in MDB2_BufferedIterator.
Definition at line 184 of file Iterator.php.
| MDB2_Iterator::seek | ( | $rownum | ) |
Seek forward to a specific row in a result set.
| int | number of the row where the data can be found |
Definition at line 82 of file Iterator.php.
Referenced by MDB2_BufferedIterator\rewind().
Here is the caller graph for this function:| MDB2_Iterator::valid | ( | ) |
Check if the end of the result set has been reached.
Reimplemented in MDB2_BufferedIterator.
Definition at line 134 of file Iterator.php.
References current().
Here is the call graph for this function:
|
protected |
Definition at line 56 of file Iterator.php.
Referenced by __construct().
|
protected |
Definition at line 57 of file Iterator.php.
Referenced by __construct().
|
protected |
Definition at line 58 of file Iterator.php.
Referenced by current().