MediaWiki
REL1_24
|
Store a file into the backend from a file on the file system. More...
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) | |
getSourceSha1Base36 () | |
precheckDestExistence() helper function to get the source file SHA-1. |
Store a file into the backend from a file on the file system.
Parameters for this operation are outlined in FileBackend::doOperations().
Definition at line 518 of file FileOp.php.
StoreFileOp::allowedParams | ( | ) | [protected] |
Get the file operation parameters.
Reimplemented from FileOp.
Definition at line 519 of file FileOp.php.
References array().
StoreFileOp::doAttempt | ( | ) | [protected] |
StoreFileOp::doPrecheck | ( | array &$ | predicates | ) | [protected] |
array | $predicates |
Reimplemented from FileOp.
Definition at line 527 of file FileOp.php.
StoreFileOp::getSourceSha1Base36 | ( | ) | [protected] |
precheckDestExistence() helper function to get the source file SHA-1.
Subclasses should overwride this if the source is not in storage.
Reimplemented from FileOp.
Definition at line 569 of file FileOp.php.
References Status\newGood(), and FileOp\setFlags().
Get a list of storage paths written to for this operation.
Reimplemented from FileOp.
Definition at line 580 of file FileOp.php.