Public Member Functions | |
KjwMyResultSet (&$resource) | |
Construct a KjwMyResultSet. | |
destroy () | |
Destructor performing cleanup. | |
getNext () | |
Fetch the current result row and advance pointer to the next. | |
at () | |
Returns at which row the resultset is. | |
size () | |
Returns the number of results in the result set as an integer. | |
seekAbs ($offset) | |
Seek in the resultset to an absolute position. | |
Public Attributes | |
$_resource | |
The MySQL result set resource. | |
$_pointer | |
A pointer to keep track of the current position. | |
$_end | |
The size of the result set. |
Definition at line 28 of file KjwMyResultSet.php.
KjwMyResultSet::at | ( | ) |
Returns at which row the resultset is.
Reimplemented from KjwResultSet.
Definition at line 61 of file KjwMyResultSet.php.
KjwMyResultSet::destroy | ( | ) |
Destructor performing cleanup.
Don't rely on this being called ever. The user must call it by hand.
Reimplemented from KjwResultSet.
Definition at line 46 of file KjwMyResultSet.php.
KjwMyResultSet::getNext | ( | ) |
Fetch the current result row and advance pointer to the next.
Reimplemented from KjwResultSet.
Definition at line 52 of file KjwMyResultSet.php.
References size().
KjwMyResultSet::KjwMyResultSet | ( | &$ | resource | ) |
Construct a KjwMyResultSet.
$resource | A mysql result set resource. |
Definition at line 38 of file KjwMyResultSet.php.
References KjwResultSet::KjwResultSet().
KjwMyResultSet::seekAbs | ( | $ | offset | ) |
Seek in the resultset to an absolute position.
$offset | The zero-based offset. |
Reimplemented from KjwResultSet.
Definition at line 71 of file KjwMyResultSet.php.
KjwMyResultSet::size | ( | ) |
Returns the number of results in the result set as an integer.
Reimplemented from KjwResultSet.
Definition at line 66 of file KjwMyResultSet.php.
Referenced by getNext().
KjwMyResultSet::$_end |
KjwMyResultSet::$_pointer |
KjwMyResultSet::$_resource |