MediaWiki  REL1_19
RevisionDeleteUser Class Reference

List of all members.

Static Public Member Functions

static suppressUserName ($name, $userId, $dbw=null)
static unsuppressUserName ($name, $userId, $dbw=null)

Static Private Member Functions

static setUsernameBitfields ($name, $userId, $op, $dbw)
 Update *_deleted bitfields in various tables to hide or unhide usernames.

Detailed Description

Definition at line 26 of file RevisionDeleteUser.php.


Member Function Documentation

static RevisionDeleteUser::setUsernameBitfields ( name,
userId,
op,
dbw 
) [static, private]

Update *_deleted bitfields in various tables to hide or unhide usernames.

Parameters:
$nameString username
$userIdInt user id
$opString operator '|' or '&'
$dbwnull|Database, if you happen to have one lying around
Returns:
bool

Definition at line 36 of file RevisionDeleteUser.php.

References LogPage\DELETED_ACTION, Revision\DELETED_RESTRICTED, Revision\DELETED_USER, Title\makeTitleSafe(), and wfGetDB().

Referenced by suppressUserName(), and unsuppressUserName().

Here is the call graph for this function:

Here is the caller graph for this function:

static RevisionDeleteUser::suppressUserName ( name,
userId,
dbw = null 
) [static]

Definition at line 123 of file RevisionDeleteUser.php.

References setUsernameBitfields().

Referenced by SpecialBlock\processForm().

Here is the call graph for this function:

Here is the caller graph for this function:

static RevisionDeleteUser::unsuppressUserName ( name,
userId,
dbw = null 
) [static]

Definition at line 127 of file RevisionDeleteUser.php.

References setUsernameBitfields().

Referenced by SpecialBlock\processForm(), and SpecialUnblock\processUnblock().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: