[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/filerepo/ -> ForeignDBViaLBRepo.php (summary)

A foreign repository with a MediaWiki database accessible via the configured LBFactory. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 97 lines (3 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

ForeignDBViaLBRepo:: (7 methods):
  __construct()
  getMasterDB()
  getSlaveDB()
  hasSharedCache()
  getSharedCacheKey()
  assertWritableRepo()
  getInfo()


Class: ForeignDBViaLBRepo  - X-Ref

A foreign repository with a MediaWiki database accessible via the configured LBFactory

__construct( $info )   X-Ref

param: array|null $info

getMasterDB()   X-Ref

return: DatabaseBase

getSlaveDB()   X-Ref

return: DatabaseBase

hasSharedCache()   X-Ref
No description

getSharedCacheKey( )   X-Ref
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().

return: bool|string

assertWritableRepo()   X-Ref
No description

getInfo()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1