MediaWiki  REL1_19
RevDel_RevisionList Class Reference

List for revision table items. More...

Inheritance diagram for RevDel_RevisionList:
Collaboration diagram for RevDel_RevisionList:

List of all members.

Public Member Functions

 doPostCommitUpdates ()
 A hook for setVisibility(): do any necessary updates post-commit.
 doPreCommitUpdates ()
 A hook for setVisibility(): do batch updates pre-commit.
 doQuery ($db)
 getCurrent ()
 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.

Public Attributes

 $currentRevId

Detailed Description

List for revision table items.

This will check both the 'revision' table for live revisions and the 'archive' table for traditionally-deleted revisions that have an ar_rev_id saved.

See RevDel_RevisionItem and RevDel_ArchivedRevisionItem for items.

Definition at line 11 of file RevisionDelete.php.


Member Function Documentation

A hook for setVisibility(): do any necessary updates post-commit.

STUB

Returns:
Status

Reimplemented from RevDel_List.

Reimplemented in RevDel_ArchiveList.

Definition at line 103 of file RevisionDelete.php.

References Status\newGood(), and wfRunHooks().

Here is the call graph for this function:

A hook for setVisibility(): do batch updates pre-commit.

STUB

Returns:
Status

Reimplemented from RevDel_List.

Reimplemented in RevDel_ArchiveList.

Definition at line 98 of file RevisionDelete.php.

References Status\newGood().

Here is the call graph for this function:

Parameters:
$dbDatabaseBase
Returns:
mixed

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchiveList.

Definition at line 26 of file RevisionDelete.php.

References RevisionListBase\$ids, $rows, Revision\pageJoinCond(), Revision\selectFields(), Revision\selectUserFields(), and Revision\userJoinCond().

Here is the call graph for this function:

Definition at line 85 of file RevisionDelete.php.

References wfGetDB().

Here is the call graph for this function:

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.

Reimplemented in RevDel_ArchiveList.

Definition at line 18 of file RevisionDelete.php.

Get the integer value of the flag used for suppression.

Reimplemented from RevDel_List.

Definition at line 94 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.

Reimplemented in RevDel_ArchiveList.

Definition at line 14 of file RevisionDelete.php.

Create an item object from a DB result row.

Parameters:
$rowstdclass

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchiveList.

Definition at line 74 of file RevisionDelete.php.


Member Data Documentation

RevDel_RevisionList::$currentRevId

Definition at line 12 of file RevisionDelete.php.


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