MediaWiki
master
|
Helper class for DAO classes. More...
Static Public Member Functions | |
static | getDBOptions ($bitfield) |
Get an appropriate DB index and options for a query. More... | |
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, IDBAccessObject\READ_EXCLUSIVE, IDBAccessObject\READ_LATEST, and IDBAccessObject\READ_LOCKING.
Referenced by BotPassword\getPassword(), Revision\getRecentChange(), User\idFromName(), User\loadFromDatabase(), WikiPage\loadPageData(), BotPassword\newFromCentralId(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\testUserExists(), and MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\testUserExists().
|
static |
integer | $bitfield | |
integer | $flags | IDBAccessObject::READ_* constant |
Definition at line 35 of file DBAccessObjectUtils.php.
References $flags.
Referenced by User\loadFromId().