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