Public Member Functions | |
Block ($address= '', $user= '', $by=0, $reason= '', $timestamp= '', $auto=0, $expiry= '') | |
newFromDB ($address, $user=0, $killExpired=true) | |
clear () | |
load ($address="", $user=0, $killExpired=true) | |
initFromRow ($row) | |
initialiseRange () | |
enumBlocks ($callback, $tag, $killExpired=true) | |
delete () | |
insert () | |
deleteIfExpired () | |
isExpired () | |
isValid () | |
updateTimestamp () | |
clearCache () | |
getIntegerAddr () | |
getNetworkBits () | |
getAutoblockExpiry ($timestamp) | |
normaliseRange ($range) | |
Public Attributes | |
$mAddress | |
$mUser | |
$mBy | |
$mReason | |
$mTimestamp | |
$mAuto | |
$mId | |
$mExpiry | |
$mNetworkBits | |
$mIntegerAddr |
|
Definition at line 18 of file Block.php. References $user, and initialiseRange(). |
|
Definition at line 39 of file Block.php. References $mAddress, $mBy, $mReason, $mTimestamp, and $mUser. Referenced by load(). |
|
Definition at line 213 of file Block.php. References $wgBlockCache. Referenced by delete(), insert(), and updateTimestamp(). |
|
Definition at line 149 of file Block.php. References $sql, clearCache(), DB_WRITE, delete(), wfQuery(), and wfStrencode(). Referenced by delete(). |
|
Definition at line 174 of file Block.php. References isExpired(). Referenced by load(). |
|
Definition at line 130 of file Block.php. References $res, $row, $sql, DB_READ, enumBlocks(), wfFetchObject(), wfFreeResult(), and wfQuery(). Referenced by enumBlocks(). |
|
Definition at line 231 of file Block.php. References $wgAutoblockExpiry, getAutoblockExpiry(), wfTimestamp2Unix(), and wfUnix2Timestamp(). Referenced by getAutoblockExpiry(), and updateTimestamp(). |
|
|
|
|
|
Definition at line 99 of file Block.php. References $row, initFromRow(), and initialiseRange(). Referenced by initFromRow(), and load(). |
|
Definition at line 113 of file Block.php. Referenced by Block(), and initFromRow(). |
|
Definition at line 163 of file Block.php. References $sql, clearCache(), DB_WRITE, insert(), wfQuery(), and wfStrencode(). Referenced by insert(). |
|
Definition at line 184 of file Block.php. References wfTimestampNow(). Referenced by deleteIfExpired(). |
|
|
|
Definition at line 46 of file Block.php. References $res, $row, $sql, $user, clear(), DB_READ, deleteIfExpired(), initFromRow(), load(), user, wfFetchObject(), wfFreeResult(), wfNumRows(), wfQuery(), and wfStrencode(). Referenced by load(). |
|
Definition at line 32 of file Block.php. References newFromDB(), and user. Referenced by newFromDB(). |
|
Definition at line 237 of file Block.php. References normaliseRange(). Referenced by normaliseRange(). |
|
Definition at line 198 of file Block.php. References clearCache(), DB_WRITE, getAutoblockExpiry(), updateTimestamp(), wfQuery(), wfStrencode(), and wfTimestampNow(). Referenced by updateTimestamp(). |
|
Definition at line 15 of file Block.php. Referenced by clear(). |
|
|
|
Definition at line 15 of file Block.php. Referenced by clear(). |
|
|
|
|
|
|
|
|
|
Definition at line 15 of file Block.php. Referenced by clear(). |
|
Definition at line 15 of file Block.php. Referenced by clear(). |
|
Definition at line 15 of file Block.php. Referenced by clear(). |