MediaWiki
REL1_32
IDBAccessObject.php
Go to the documentation of this file.
1
<?php
55
interface
IDBAccessObject
{
58
const
READ_NORMAL = 0;
60
const
READ_LATEST = 1;
61
/* @var int Read from the master/quorum and lock out other writers */
62
const
READ_LOCKING
= self::READ_LATEST | 2;
// READ_LATEST (1) and "LOCK IN SHARE MODE" (2)
64
const
READ_EXCLUSIVE = self::READ_LOCKING | 4;
// READ_LOCKING (3) and "FOR UPDATE" (4)
65
67
const
READ_LATEST_IMMUTABLE = 8;
68
69
// Convenience constant for tracking how data was loaded (higher => higher QoS)
70
const
READ_NONE
= -1;
// not loaded yet (or the object was cleared)
71
}
IDBAccessObject
Interface for database access objects.
Definition
IDBAccessObject.php:55
IDBAccessObject\READ_LOCKING
const READ_LOCKING
Constants for object loading bitfield flags (higher => higher QoS)
Definition
IDBAccessObject.php:62
IDBAccessObject\READ_NONE
const READ_NONE
Definition
IDBAccessObject.php:70
includes
dao
IDBAccessObject.php
Generated on Mon Nov 25 2024 15:56:57 for MediaWiki by
1.10.0