MediaWiki
REL1_24
|
A foreign repository with a MediaWiki database accessible via the configured LBFactory. More...
Public Member Functions | |
__construct ($info) | |
getInfo () | |
Return information about the repository. | |
getMasterDB () | |
getSharedCacheKey () | |
Get a key on the primary cache for this repository. | |
getSlaveDB () | |
hasSharedCache () | |
Protected Member Functions | |
assertWritableRepo () | |
Throw an exception if this repo is read-only by design. | |
Protected Attributes | |
string | $dbName |
* | |
array | $fileFactory = array( 'ForeignDBFile', 'newFromTitle' ) |
* | |
array | $fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' ) |
* | |
string | $tablePrefix |
* | |
string | $wiki |
* |
A foreign repository with a MediaWiki database accessible via the configured LBFactory.
Definition at line 29 of file ForeignDBViaLBRepo.php.
ForeignDBViaLBRepo::__construct | ( | $ | info | ) |
array | null | $info |
Definition at line 43 of file ForeignDBViaLBRepo.php.
ForeignDBViaLBRepo::assertWritableRepo | ( | ) | [protected] |
Throw an exception if this repo is read-only by design.
This does not and should not check getReadOnlyReason().
MWException |
Reimplemented from FileRepo.
Definition at line 85 of file ForeignDBViaLBRepo.php.
Return information about the repository.
Reimplemented from LocalRepo.
Definition at line 89 of file ForeignDBViaLBRepo.php.
Reimplemented from LocalRepo.
Definition at line 53 of file ForeignDBViaLBRepo.php.
Get a key on the primary cache for this repository.
Returns false if the repository's cache is not accessible at this site. The parameters are the parts of the key, as for wfMemcKey().
Reimplemented from LocalRepo.
Definition at line 74 of file ForeignDBViaLBRepo.php.
Reimplemented from LocalRepo.
Definition at line 60 of file ForeignDBViaLBRepo.php.
Definition at line 64 of file ForeignDBViaLBRepo.php.
string ForeignDBViaLBRepo::$dbName [protected] |
*
Definition at line 32 of file ForeignDBViaLBRepo.php.
array ForeignDBViaLBRepo::$fileFactory = array( 'ForeignDBFile', 'newFromTitle' ) [protected] |
array ForeignDBViaLBRepo::$fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' ) [protected] |
string ForeignDBViaLBRepo::$tablePrefix [protected] |
*
Definition at line 34 of file ForeignDBViaLBRepo.php.
string ForeignDBViaLBRepo::$wiki [protected] |
*
Definition at line 30 of file ForeignDBViaLBRepo.php.