MediaWiki
REL1_24
|
Overloads the relevant methods of the real ResultsWrapper so it doesn't go anywhere near an actual database. More...
Public Member Functions | |
__construct ($array) | |
fetchObject () | |
Callers want to be able to access fields with $this->fieldName. | |
fetchRow () | |
free () | |
Free a result object. | |
next () | |
numRows () | |
rewind () | |
seek ($row) | |
Change the position of the cursor in a result object. | |
Public Attributes | |
array | $result = array() |
* | |
Protected Attributes | |
array stdClass bool | $currentRow = null |
* | |
null | $db = null |
And it's going to stay that way :D *. | |
int | $pos = 0 |
* |
Overloads the relevant methods of the real ResultsWrapper so it doesn't go anywhere near an actual database.
Definition at line 229 of file DatabaseUtility.php.
FakeResultWrapper::__construct | ( | $ | array | ) |
Definition at line 238 of file DatabaseUtility.php.
Callers want to be able to access fields with $this->fieldName.
Reimplemented from ResultWrapper.
Definition at line 277 of file DatabaseUtility.php.
Reimplemented from ResultWrapper.
Definition at line 252 of file DatabaseUtility.php.
Referenced by rewind().
Free a result object.
Reimplemented from ResultWrapper.
Definition at line 270 of file DatabaseUtility.php.
Reimplemented from ResultWrapper.
Definition at line 294 of file DatabaseUtility.php.
Reimplemented from ResultWrapper.
Definition at line 245 of file DatabaseUtility.php.
References result.
Reimplemented from ResultWrapper.
Definition at line 286 of file DatabaseUtility.php.
References fetchRow().
FakeResultWrapper::seek | ( | $ | row | ) |
Change the position of the cursor in a result object.
See mysql_data_seek()
int | $row |
Reimplemented from ResultWrapper.
Definition at line 266 of file DatabaseUtility.php.
array stdClass bool FakeResultWrapper::$currentRow = null [protected] |
null FakeResultWrapper::$db = null [protected] |
And it's going to stay that way :D *.
Reimplemented from ResultWrapper.
Definition at line 232 of file DatabaseUtility.php.
int FakeResultWrapper::$pos = 0 [protected] |