MediaWiki  REL1_22
IDBAccessObject.php
Go to the documentation of this file.
00001 <?php
00047 interface IDBAccessObject {
00048     // Constants for object loading bitfield flags (higher => higher QoS)
00049     const READ_LATEST = 1; // read from the master
00050     const READ_LOCKING = 3; // READ_LATEST and "FOR UPDATE"
00051 
00052     // Convenience constant for callers to explicitly request slave data
00053     const READ_NORMAL = 0; // read from the slave
00054 
00055     // Convenience constant for tracking how data was loaded (higher => higher QoS)
00056     const READ_NONE = -1; // not loaded yet (or the object was cleared)
00057 }