MediaWiki  REL1_22
RevDel_LogList Class Reference

List for logging table items. More...

Inheritance diagram for RevDel_LogList:
Collaboration diagram for RevDel_LogList:

List of all members.

Public Member Functions

 doQuery ($db)
 getLogAction ()
 Get the log action for this list type.
 getLogParams ($params)
 Get log parameter array.
 getSuppressBit ()
 Get the integer value of the flag used for suppression.
 getType ()
 Get the internal type name of this list.
 newItem ($row)
 Create an item object from a DB result row.

Static Public Member Functions

static getRelationType ()
 Get the DB field name associated with the ID list.
static getRestriction ()
 Get the user right required for this list type Override this function.
static getRevdelConstant ()
 Get the revision deletion constant for this list type Override this function.
static suggestTarget ($target, array $ids)
 Suggest a target for the revision deletion Optionally override this function.

Detailed Description

List for logging table items.

Definition at line 816 of file RevisionDelete.php.


Member Function Documentation

Parameters:
$dbDatabaseBase
Returns:
mixed

Reimplemented from RevisionListBase.

Definition at line 851 of file RevisionDelete.php.

Get the log action for this list type.

Returns:
string

Reimplemented from RevDel_List.

Definition at line 868 of file RevisionDelete.php.

Get log parameter array.

Parameters:
array$paramsAssociative array of log parameters, same as updateLog()
Returns:
array

Reimplemented from RevDel_List.

Definition at line 872 of file RevisionDelete.php.

References $params, and array().

static RevDel_LogList::getRelationType ( ) [static]

Get the DB field name associated with the ID list.

This used to populate the log_search table for finding log entries. Override this function.

Returns:
string|null

Reimplemented from RevDel_List.

Definition at line 821 of file RevisionDelete.php.

static RevDel_LogList::getRestriction ( ) [static]

Get the user right required for this list type Override this function.

Since:
1.22
Returns:
string|null

Reimplemented from RevDel_List.

Definition at line 825 of file RevisionDelete.php.

static RevDel_LogList::getRevdelConstant ( ) [static]

Get the revision deletion constant for this list type Override this function.

Since:
1.22
Returns:
int|null

Reimplemented from RevDel_List.

Definition at line 829 of file RevisionDelete.php.

References LogPage\DELETED_ACTION.

Get the integer value of the flag used for suppression.

Reimplemented from RevDel_List.

Definition at line 864 of file RevisionDelete.php.

References Revision\DELETED_RESTRICTED.

Get the internal type name of this list.

Equal to the table name. Override this function.

Returns:
null

Reimplemented from RevisionListBase.

Definition at line 817 of file RevisionDelete.php.

Create an item object from a DB result row.

Parameters:
$rowstdclass

Reimplemented from RevisionListBase.

Definition at line 860 of file RevisionDelete.php.

static RevDel_LogList::suggestTarget ( target,
array ids 
) [static]

Suggest a target for the revision deletion Optionally override this function.

Since:
1.22
Parameters:
Title | null$targetUser-supplied target
array$ids
Returns:
Title|null

Reimplemented from RevDel_List.

Definition at line 833 of file RevisionDelete.php.

References $result, array(), SpecialPage\getTitleFor(), and wfGetDB().


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