MediaWiki  REL1_21
CreateFileOp Class Reference

Create a file in the backend with the given content. More...

Inheritance diagram for CreateFileOp:
Collaboration diagram for CreateFileOp:

List of all members.

Public Member Functions

 storagePathsChanged ()

Protected Member Functions

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

Detailed Description

Create a file in the backend with the given content.

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

Definition at line 455 of file FileOp.php.


Member Function Documentation

CreateFileOp::allowedParams ( ) [protected]

Get the file operation parameters.

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

Reimplemented from FileOp.

Definition at line 456 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 489 of file FileOp.php.

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

Reimplemented from FileOp.

Definition at line 461 of file FileOp.php.

Returns:
bool|String

Reimplemented from FileOp.

Definition at line 500 of file FileOp.php.

Returns:
array

Reimplemented from FileOp.

Definition at line 507 of file FileOp.php.


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