MediaWiki  REL1_19
DeleteFileOp Class Reference

Delete a file at the given storage path from the backend. More...

Inheritance diagram for DeleteFileOp:
Collaboration diagram for DeleteFileOp:

List of all members.

Public Member Functions

 storagePathsChanged ()
 Get a list of storage paths written to for this operation.

Protected Member Functions

 allowedParams ()
 Get the file operation parameters.
 doAttempt ()
 doPrecheck (array &$predicates)

Protected Attributes

 $needsDelete = true

Detailed Description

Delete a file at the given storage path from the backend.

Parameters similar to FileBackendStore::deleteInternal(), which include: src : source storage path ignoreMissingSource : don't return an error if the file does not exist

Definition at line 657 of file FileOp.php.


Member Function Documentation

DeleteFileOp::allowedParams ( ) [protected]

Get the file operation parameters.

Returns:
Array (required params list, optional params list)

Reimplemented from FileOp.

Definition at line 658 of file FileOp.php.

DeleteFileOp::doAttempt ( ) [protected]
Returns:
Status

Reimplemented from FileOp.

Definition at line 680 of file FileOp.php.

References Status\newGood().

Here is the call graph for this function:

DeleteFileOp::doPrecheck ( array &$  predicates) [protected]
Returns:
Status

Reimplemented from FileOp.

Definition at line 664 of file FileOp.php.

References FileOp\fileExists(), FileOp\getParam(), and Status\newGood().

Here is the call graph for this function:

Get a list of storage paths written to for this operation.

Returns:
Array

Reimplemented from FileOp.

Definition at line 689 of file FileOp.php.


Member Data Documentation

DeleteFileOp::$needsDelete = true [protected]

Definition at line 662 of file FileOp.php.


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