
Public Member Functions | |
| KjwPgResultSet (&$resource) | |
| Construct a KjwPgResultSet. | |
| 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 postgresql 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 KjwPgResultSet.php.
| KjwPgResultSet::at | ( | ) |
Returns at which row the resultset is.
Reimplemented from KjwResultSet.
Definition at line 61 of file KjwPgResultSet.php.
| KjwPgResultSet::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 KjwPgResultSet.php.
| KjwPgResultSet::getNext | ( | ) |
Fetch the current result row and advance pointer to the next.
Reimplemented from KjwResultSet.
Definition at line 52 of file KjwPgResultSet.php.
References size().
| KjwPgResultSet::KjwPgResultSet | ( | &$ | resource | ) |
Construct a KjwPgResultSet.
| $resource | A postgresql result set resource. |
Definition at line 38 of file KjwPgResultSet.php.
References KjwResultSet::KjwResultSet().
| KjwPgResultSet::seekAbs | ( | $ | offset | ) |
Seek in the resultset to an absolute position.
| $offset | The zero-based offset. |
Reimplemented from KjwResultSet.
Definition at line 71 of file KjwPgResultSet.php.
| KjwPgResultSet::size | ( | ) |
Returns the number of results in the result set as an integer.
Reimplemented from KjwResultSet.
Definition at line 66 of file KjwPgResultSet.php.
Referenced by getNext().
| KjwPgResultSet::$_end |
| KjwPgResultSet::$_pointer |
| KjwPgResultSet::$_resource |
1.5.8