Public Member Functions | |
__construct ($array) | |
numRows () | |
Get the number of rows in a result object. | |
fetchRow () | |
Fetch the next row from the given result object, in associative array form. | |
seek ($row) | |
Change the position of the cursor in a result object See mysql_data_seek(). | |
free () | |
Free a result object. | |
fetchObject () | |
Fetch the next row from the given result object, in object form. | |
rewind () | |
Public Attributes | |
$result = array() | |
$db = null | |
$pos = 0 | |
$currentRow = null |
Definition at line 381 of file SpecialAllmessages.php.
FakeResultWrapper::__construct | ( | $ | array | ) |
Definition at line 388 of file SpecialAllmessages.php.
FakeResultWrapper::fetchObject | ( | ) |
Fetch the next row from the given result object, in object form.
Fields can be retrieved with $row->fieldname, with fields acting like member variables.
$res | SQL result object as returned from Database::query(), etc. |
DBUnexpectedError | Thrown if the database returns an error |
Reimplemented from ResultWrapper.
Definition at line 408 of file SpecialAllmessages.php.
FakeResultWrapper::fetchRow | ( | ) |
Fetch the next row from the given result object, in associative array form.
Fields are retrieved with $row['fieldname'].
$res | SQL result object as returned from Database::query(), etc. |
DBUnexpectedError | Thrown if the database returns an error |
Reimplemented from ResultWrapper.
Definition at line 396 of file SpecialAllmessages.php.
FakeResultWrapper::free | ( | ) |
Free a result object.
Reimplemented from ResultWrapper.
Definition at line 405 of file SpecialAllmessages.php.
FakeResultWrapper::numRows | ( | ) |
Get the number of rows in a result object.
Reimplemented from ResultWrapper.
Definition at line 392 of file SpecialAllmessages.php.
FakeResultWrapper::rewind | ( | ) |
FakeResultWrapper::seek | ( | $ | row | ) |
Change the position of the cursor in a result object See mysql_data_seek().
Reimplemented from ResultWrapper.
Definition at line 401 of file SpecialAllmessages.php.
FakeResultWrapper::$currentRow = null |
FakeResultWrapper::$db = null |
FakeResultWrapper::$pos = 0 |
FakeResultWrapper::$result = array() |