MediaWiki  REL1_20
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.

Public Attributes

 $cleanupBatch
 $deleteBatch
 $storeBatch

Detailed Description

List for oldimage table items.

Definition at line 437 of file RevisionDelete.php.


Member Function Documentation

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

Reimplemented from RevDel_List.

Definition at line 471 of file RevisionDelete.php.

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 500 of file RevisionDelete.php.

References $file, Status\newGood(), SquidUpdate\purge(), and wfLocalFile().

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 477 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 452 of file RevisionDelete.php.

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:
null

Reimplemented from RevDel_List.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 442 of file RevisionDelete.php.

Get the integer value of the flag used for suppression.

Reimplemented from RevDel_List.

Definition at line 518 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 438 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 467 of file RevisionDelete.php.


Member Data Documentation

RevDel_FileList::$cleanupBatch

Definition at line 446 of file RevisionDelete.php.

RevDel_FileList::$deleteBatch

Definition at line 446 of file RevisionDelete.php.

RevDel_FileList::$storeBatch

Definition at line 446 of file RevisionDelete.php.


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