MediaWiki
REL1_35
IDBAccessObject.php
Go to the documentation of this file.
1
<?php
57
interface
IDBAccessObject
{
60
public
const
READ_NORMAL = 0;
61
63
public
const
READ_LATEST = 1;
64
65
/* @var int Read from the master/quorum and lock out other writers */
66
public
const
READ_LOCKING
= self::READ_LATEST | 2;
// READ_LATEST (1) and "LOCK IN SHARE MODE" (2)
67
69
public
const
READ_EXCLUSIVE = self::READ_LOCKING | 4;
// READ_LOCKING (3) and "FOR UPDATE" (4)
70
72
public
const
READ_LATEST_IMMUTABLE = 8;
73
74
// Convenience constant for tracking how data was loaded (higher => higher QoS)
75
public
const
READ_NONE
= -1;
// not loaded yet (or the object was cleared)
76
}
IDBAccessObject
Interface for database access objects.
Definition
IDBAccessObject.php:57
IDBAccessObject\READ_LOCKING
const READ_LOCKING
Constants for object loading bitfield flags (higher => higher QoS)
Definition
IDBAccessObject.php:66
IDBAccessObject\READ_NONE
const READ_NONE
Definition
IDBAccessObject.php:75
includes
dao
IDBAccessObject.php
Generated on Sat Apr 6 2024 00:07:03 for MediaWiki by
1.9.8