MediaWiki  REL1_19
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 404 of file RevisionDelete.php.


Member Function Documentation

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

Reimplemented from RevDel_List.

Definition at line 438 of file RevisionDelete.php.

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 467 of file RevisionDelete.php.

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

Here is the call graph for this function:

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

STUB

Returns:
Status

Reimplemented from RevDel_List.

Definition at line 444 of file RevisionDelete.php.

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

Here is the call graph for this function:

Parameters:
$dbDatabaseBase
Returns:
mixed

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchivedFileList.

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

Reimplemented from RevDel_List.

Reimplemented in RevDel_ArchivedFileList.

Definition at line 409 of file RevisionDelete.php.

Get the integer value of the flag used for suppression.

Reimplemented from RevDel_List.

Definition at line 485 of file RevisionDelete.php.

References File\DELETED_RESTRICTED.

Get the internal type name of this list.

Equal to the table name. Override this function.

Reimplemented from RevisionListBase.

Reimplemented in RevDel_ArchivedFileList.

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


Member Data Documentation

RevDel_FileList::$cleanupBatch

Definition at line 413 of file RevisionDelete.php.

RevDel_FileList::$deleteBatch

Definition at line 413 of file RevisionDelete.php.

RevDel_FileList::$storeBatch

Definition at line 413 of file RevisionDelete.php.


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