MediaWiki  REL1_24
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)

Detailed Description

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

Parameters for this operation are outlined in FileBackend::doOperations().

Definition at line 747 of file FileOp.php.


Member Function Documentation

DeleteFileOp::allowedParams ( ) [protected]

Get the file operation parameters.

Returns:
array (required params list, optional params list, list of params that are paths)

Reimplemented from FileOp.

Definition at line 748 of file FileOp.php.

References array().

Referenced by doPrecheck().

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

Reimplemented from FileOp.

Definition at line 782 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 752 of file FileOp.php.

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

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

Returns:
array

Reimplemented from FileOp.

Definition at line 787 of file FileOp.php.


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