MediaWiki
REL1_19
|
Copy a file from one storage path to another in the backend. More...
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) |
Copy a file from one storage path to another in the backend.
Parameters similar to FileBackendStore::copyInternal(), 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 543 of file FileOp.php.
CopyFileOp::allowedParams | ( | ) | [protected] |
Get the file operation parameters.
Reimplemented from FileOp.
Definition at line 544 of file FileOp.php.
CopyFileOp::doAttempt | ( | ) | [protected] |
Reimplemented from FileOp.
Definition at line 569 of file FileOp.php.
References Status\newGood().
CopyFileOp::doPrecheck | ( | array &$ | predicates | ) | [protected] |
Reimplemented from FileOp.
Definition at line 548 of file FileOp.php.
References FileOp\fileExists(), Status\newGood(), and FileOp\precheckDestExistence().
Get a list of storage paths written to for this operation.
Reimplemented from FileOp.
Definition at line 585 of file FileOp.php.
Get a list of storage paths read from for this operation.
Reimplemented from FileOp.
Definition at line 581 of file FileOp.php.