MediaWiki  REL1_24
CopyFileOp Class Reference

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

Inheritance diagram for CopyFileOp:
Collaboration diagram for CopyFileOp:

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

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

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

Definition at line 589 of file FileOp.php.


Member Function Documentation

CopyFileOp::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 590 of file FileOp.php.

References array().

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

Reimplemented from FileOp.

Definition at line 633 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 598 of file FileOp.php.

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

Returns:
array

Reimplemented from FileOp.

Definition at line 654 of file FileOp.php.

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

Returns:
array

Reimplemented from FileOp.

Definition at line 650 of file FileOp.php.


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