MediaWiki  REL1_19
MoveFileOp Class Reference

Move a file from one storage path to another in the backend. More...

Inheritance diagram for MoveFileOp:
Collaboration diagram for MoveFileOp:

List of all members.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Move a file from one storage path to another in the backend.

Parameters similar to FileBackendStore::moveInternal(), which include: src : source storage path dst : destination storage path overwrite : do nothing and pass if an identical file exists at destination overwriteSame : override any existing file at destination

Definition at line 598 of file FileOp.php.


Member Function Documentation

MoveFileOp::allowedParams ( ) [protected]

Get the file operation parameters.

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

Reimplemented from FileOp.

Definition at line 599 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 626 of file FileOp.php.

References FileOp\$params, and Status\newGood().

Here is the call graph for this function:

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

Reimplemented from FileOp.

Definition at line 603 of file FileOp.php.

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

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 646 of file FileOp.php.

Get a list of storage paths read from for this operation.

Returns:
Array

Reimplemented from FileOp.

Definition at line 642 of file FileOp.php.


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