[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
This file contains database-related utility classes. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 342 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
DBObject:: (3 methods):
__construct()
isLOB()
data()
Blob:: (2 methods):
__construct()
fetch()
Field:: (4 methods):
name()
tableName()
type()
isNullable()
ResultWrapper:: (11 methods):
__construct()
numRows()
fetchObject()
fetchRow()
free()
seek()
rewind()
current()
key()
next()
valid()
FakeResultWrapper:: (8 methods):
__construct()
numRows()
fetchRow()
seek()
free()
fetchObject()
rewind()
next()
LikeMatch:: (2 methods):
__construct()
toString()
DBMasterPos:: (0 methods):
Class: ResultWrapper - X-Ref
Result wrapper for grabbing data queried by someone else__construct( $database, $result ) X-Ref |
Create a new result object from a result resource and a Database object param: DatabaseBase $database param: resource|ResultWrapper $result |
numRows() X-Ref |
Get the number of rows in a result object return: int |
fetchObject() X-Ref |
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. return: stdClass |
fetchRow() X-Ref |
Fetch the next row from the given result object, in associative array form. Fields are retrieved with $row['fieldname']. return: array |
free() X-Ref |
Free a result object |
seek( $row ) X-Ref |
Change the position of the cursor in a result object. See mysql_data_seek() param: int $row |
rewind() X-Ref |
No description |
current() X-Ref |
return: stdClass|array|bool |
key() X-Ref |
return: int |
next() X-Ref |
return: stdClass |
valid() X-Ref |
return: bool |
Class: FakeResultWrapper - X-Ref
Overloads the relevant methods of the real ResultsWrapper so it__construct( $array ) X-Ref |
No description |
numRows() X-Ref |
return: int |
fetchRow() X-Ref |
return: array|bool |
seek( $row ) X-Ref |
No description |
free() X-Ref |
No description |
fetchObject() X-Ref |
Callers want to be able to access fields with $this->fieldName return: bool|stdClass |
rewind() X-Ref |
No description |
next() X-Ref |
return: bool|stdClass |
__construct( $s ) X-Ref |
Store a string into a LikeMatch marker object. param: string $s |
toString() X-Ref |
Return the original stored string. return: string |
Interface: DBMasterPos - X-Ref
An object representing a master or slave position in a replicated setup.Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |