MediaWiki  REL1_22
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 572 of file FileOp.php.


Member Function Documentation

CopyFileOp::allowedParams ( ) [protected]

Get the file operation parameters.

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

Reimplemented from FileOp.

Definition at line 573 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 609 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 578 of file FileOp.php.

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

Returns:
Array

Reimplemented from FileOp.

Definition at line 629 of file FileOp.php.

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

Returns:
Array

Reimplemented from FileOp.

Definition at line 625 of file FileOp.php.


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