MediaWiki
REL1_20
|
Foreign file with an accessible MediaWiki database. More...
Public Member Functions | |
delete ($reason, $suppress=false) | |
getDescriptionText () | |
getDescriptionUrl () | |
move ($target) | |
publish ($srcPath, $flags=0) | |
recordUpload ($oldver, $desc, $license= '', $copyStatus= '', $source= '', $watch=false, $timestamp=false) | |
restore ($versions=array(), $unsuppress=false) | |
Static Public Member Functions | |
static | newFromRow ($row, $repo) |
Create a ForeignDBFile from a title Do not call this except from inside a repo class. | |
static | newFromTitle ($title, $repo, $unused=null) |
Foreign file with an accessible MediaWiki database.
Definition at line 29 of file ForeignDBFile.php.
ForeignDBFile::delete | ( | $ | reason, |
$ | suppress = false |
||
) |
$reason | string |
$suppress | bool |
MWException |
Reimplemented from LocalFile.
Definition at line 95 of file ForeignDBFile.php.
References File\readOnlyError().
ForeignDBFile::move | ( | $ | target | ) |
$target | Title |
MWException |
Reimplemented from LocalFile.
Definition at line 103 of file ForeignDBFile.php.
References File\readOnlyError().
static ForeignDBFile::newFromRow | ( | $ | row, |
$ | repo | ||
) | [static] |
Create a ForeignDBFile from a title Do not call this except from inside a repo class.
$row | |
$repo |
Reimplemented from LocalFile.
Definition at line 50 of file ForeignDBFile.php.
References $file, LocalFile\$repo, File\$title, and Title\makeTitle().
static ForeignDBFile::newFromTitle | ( | $ | title, |
$ | repo, | ||
$ | unused = null |
||
) | [static] |
$title | |
$repo | |
$unused |
Reimplemented from LocalFile.
Definition at line 37 of file ForeignDBFile.php.
References LocalFile\$repo, and File\$title.
ForeignDBFile::publish | ( | $ | srcPath, |
$ | flags = 0 |
||
) |
$srcPath | String |
$flags | int |
MWException |
Reimplemented from LocalFile.
Definition at line 62 of file ForeignDBFile.php.
References File\readOnlyError().
ForeignDBFile::recordUpload | ( | $ | oldver, |
$ | desc, | ||
$ | license = '' , |
||
$ | copyStatus = '' , |
||
$ | source = '' , |
||
$ | watch = false , |
||
$ | timestamp = false |
||
) |
$oldver | |
$desc | string |
$license | string |
$copyStatus | string |
$source | string |
$watch | bool |
$timestamp | bool|string |
MWException |
Reimplemented from LocalFile.
Definition at line 76 of file ForeignDBFile.php.
References File\readOnlyError().
ForeignDBFile::restore | ( | $ | versions = array() , |
$ | unsuppress = false |
||
) |
$versions | array |
$unsuppress | bool |
MWException |
Reimplemented from LocalFile.
Definition at line 86 of file ForeignDBFile.php.
References File\readOnlyError().