MediaWiki
REL1_22
|
List for logging table items. More...
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. |
List for logging table items.
Definition at line 816 of file RevisionDelete.php.
RevDel_LogList::doQuery | ( | $ | db | ) |
$db | DatabaseBase |
Reimplemented from RevisionListBase.
Definition at line 851 of file RevisionDelete.php.
Get the log action for this list type.
Reimplemented from RevDel_List.
Definition at line 868 of file RevisionDelete.php.
RevDel_LogList::getLogParams | ( | $ | params | ) |
Get log parameter array.
array | $params | Associative array of log parameters, same as updateLog() |
Reimplemented from RevDel_List.
Definition at line 872 of file RevisionDelete.php.
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.
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.
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.
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.
Reimplemented from RevisionListBase.
Definition at line 817 of file RevisionDelete.php.
RevDel_LogList::newItem | ( | $ | row | ) |
Create an item object from a DB result row.
$row | stdclass |
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.
Title | null | $target | User-supplied target |
array | $ids |
Reimplemented from RevDel_List.
Definition at line 833 of file RevisionDelete.php.
References $result, array(), SpecialPage\getTitleFor(), and wfGetDB().