MediaWiki REL1_40
|
Inherited by Wikimedia\Rdbms\Database\DatabaseFlags, and Wikimedia\Rdbms\IReadableDatabase.
Public Member Functions | |
clearFlag ( $flag, $remember=self::REMEMBER_NOTHING) | |
Clear a flag for this connection. | |
getFlag ( $flag) | |
Returns a boolean whether the flag $flag is set for this connection. | |
restoreFlags ( $state=self::RESTORE_PRIOR) | |
Restore the flags to their prior state before the last setFlag/clearFlag call. | |
setFlag ( $flag, $remember=self::REMEMBER_NOTHING) | |
Set a flag for this connection. | |
Definition at line 25 of file IDatabaseFlags.php.
Wikimedia\Rdbms\Database\IDatabaseFlags::clearFlag | ( | $flag, | |
$remember = self::REMEMBER_NOTHING ) |
Clear a flag for this connection.
int | $flag | One of (IDatabase::DBO_DEBUG, IDatabase::DBO_TRX) |
string | $remember | IDatabase::REMEMBER_* constant [default: REMEMBER_NOTHING] |
Implemented in Wikimedia\Rdbms\Database, Wikimedia\Rdbms\Database\DatabaseFlags, and Wikimedia\Rdbms\DBConnRef.
Wikimedia\Rdbms\Database\IDatabaseFlags::getFlag | ( | $flag | ) |
Returns a boolean whether the flag $flag is set for this connection.
int | $flag | One of the class IDatabase::DBO_* constants |
Implemented in Wikimedia\Rdbms\Database, Wikimedia\Rdbms\Database\DatabaseFlags, and Wikimedia\Rdbms\DBConnRef.
Wikimedia\Rdbms\Database\IDatabaseFlags::restoreFlags | ( | $state = self::RESTORE_PRIOR | ) |
Restore the flags to their prior state before the last setFlag/clearFlag call.
string | $state | IDatabase::RESTORE_* constant. [default: RESTORE_PRIOR] |
Implemented in Wikimedia\Rdbms\Database, Wikimedia\Rdbms\Database\DatabaseFlags, and Wikimedia\Rdbms\DBConnRef.
Wikimedia\Rdbms\Database\IDatabaseFlags::setFlag | ( | $flag, | |
$remember = self::REMEMBER_NOTHING ) |
Set a flag for this connection.
int | $flag | One of (IDatabase::DBO_DEBUG, IDatabase::DBO_TRX) |
string | $remember | IDatabase::REMEMBER_* constant [default: REMEMBER_NOTHING] |
Implemented in Wikimedia\Rdbms\Database, Wikimedia\Rdbms\Database\DatabaseFlags, and Wikimedia\Rdbms\DBConnRef.
Referenced by DatabaseUpdater\__construct().