MediaWiki REL1_27
|
Helper class for DAO classes. More...
Static Public Member Functions | |
static | getDBOptions ( $bitfield) |
Get an appropriate DB index and options for a query. | |
static | hasFlags ( $bitfield, $flags) |
|
static |
Get an appropriate DB index and options for a query.
integer | $bitfield |
Definition at line 45 of file DBAccessObjectUtils.php.
References $options, DB_MASTER, DB_SLAVE, hasFlags(), IDBAccessObject\READ_EXCLUSIVE, IDBAccessObject\READ_LATEST, and IDBAccessObject\READ_LOCKING.
Referenced by BotPassword\getPassword(), Revision\getRecentChange(), User\loadFromDatabase(), WikiPage\loadPageData(), and BotPassword\newFromCentralId().
|
static |
integer | $bitfield | |
integer | $flags | IDBAccessObject::READ_* constant |
Definition at line 35 of file DBAccessObjectUtils.php.
References $flags.
Referenced by getDBOptions(), and User\loadFromId().