MediaWiki  REL1_22
RevDel_FileList Class Reference

List for oldimage table items. More...

Inheritance diagram for RevDel_FileList:
Collaboration diagram for RevDel_FileList:

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

 $cleanupBatch
 $deleteBatch
 $storeBatch

Detailed Description

List for oldimage table items.

Definition at line 448 of file RevisionDelete.php.


Member Function Documentation

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

Reimplemented from RevDel_List.

Definition at line 492 of file RevisionDelete.php.

References array().

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 521 of file RevisionDelete.php.

References $file, $timestamp, array(), as, global, Status\newGood(), SquidUpdate\purge(), title, and wfLocalFile().

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 498 of file RevisionDelete.php.

References Status\newGood(), FileRepo\OVERWRITE_SAME, and RepoGroup\singleton().

Parameters:
$dbDatabaseBase
Returns:
mixed

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 471 of file RevisionDelete.php.

References $timestamp, array(), as, OldLocalFile\selectFields(), and title.

static RevDel_FileList::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.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 453 of file RevisionDelete.php.

static RevDel_FileList::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 457 of file RevisionDelete.php.

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 461 of file RevisionDelete.php.

References File\DELETED_FILE.

Get the integer value of the flag used for suppression.

Reimplemented from RevDel_List.

Definition at line 539 of file RevisionDelete.php.

References File\DELETED_RESTRICTED.

Get the internal type name of this list.

Equal to the table name. Override this function.

Returns:
null

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 449 of file RevisionDelete.php.

Create an item object from a DB result row.

Parameters:
$rowstdclass

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 488 of file RevisionDelete.php.


Member Data Documentation

RevDel_FileList::$cleanupBatch

Definition at line 465 of file RevisionDelete.php.

RevDel_FileList::$deleteBatch

Definition at line 465 of file RevisionDelete.php.

RevDel_FileList::$storeBatch

Definition at line 465 of file RevisionDelete.php.


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