MediaWiki  REL1_24
RevDelFileList Class Reference

List for oldimage table items. More...

Inheritance diagram for RevDelFileList:
Collaboration diagram for RevDelFileList:

List of all members.

Public Member Functions

 clearFileOps ()
 Clear any data structures needed for doPreCommitUpdates() and doPostCommitUpdates() STUB.
 doPostCommitUpdates ()
 A hook for setVisibility(): do any necessary updates post-commit.
 doPreCommitUpdates ()
 A hook for setVisibility(): do batch updates pre-commit.
 doQuery ($db)
 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.

Public Attributes

array $cleanupBatch
 *
array $deleteBatch
 *
array $storeBatch
 *

Detailed Description

List for oldimage table items.

Definition at line 25 of file RevDelFileList.php.


Member Function Documentation

Clear any data structures needed for doPreCommitUpdates() and doPostCommitUpdates() STUB.

Reimplemented from RevDelList.

Definition at line 74 of file RevDelFileList.php.

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

STUB

Returns:
Status

Reimplemented from RevDelList.

Definition at line 104 of file RevDelFileList.php.

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

STUB

Returns:
Status

Reimplemented from RevDelList.

Definition at line 80 of file RevDelFileList.php.

Parameters:
DatabaseBase$db
Returns:
mixed

Reimplemented from RevisionListBase.

Reimplemented in RevDelArchivedFileList.

Definition at line 52 of file RevDelFileList.php.

static RevDelFileList::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 RevDelList.

Reimplemented in RevDelArchivedFileList.

Definition at line 36 of file RevDelFileList.php.

static RevDelFileList::getRestriction ( ) [static]

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

Since:
1.22
Returns:
string|null

Reimplemented from RevDelList.

Definition at line 40 of file RevDelFileList.php.

static RevDelFileList::getRevdelConstant ( ) [static]

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

Since:
1.22
Returns:
int|null

Reimplemented from RevDelList.

Definition at line 44 of file RevDelFileList.php.

Get the integer value of the flag used for suppression.

Reimplemented from RevDelList.

Definition at line 122 of file RevDelFileList.php.

Get the internal type name of this list.

Equal to the table name. Override this function.

Returns:
null

Reimplemented from RevisionListBase.

Reimplemented in RevDelArchivedFileList.

Definition at line 32 of file RevDelFileList.php.

Create an item object from a DB result row.

Parameters:
object$row

Reimplemented from RevisionListBase.

Reimplemented in RevDelArchivedFileList.

Definition at line 70 of file RevDelFileList.php.


Member Data Documentation

array RevDelFileList::$cleanupBatch

*

Definition at line 30 of file RevDelFileList.php.

array RevDelFileList::$deleteBatch

*

Definition at line 28 of file RevDelFileList.php.

array RevDelFileList::$storeBatch

*

Definition at line 26 of file RevDelFileList.php.


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