[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

A foreign repository with an accessible MediaWiki database. 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: 139 lines (3 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

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


Class: ForeignDBRepo  - X-Ref

A foreign repository with an accessible MediaWiki database

__construct( $info )   X-Ref

param: array|null $info

getMasterDB()   X-Ref

return: DatabaseBase

getSlaveDB()   X-Ref

return: DatabaseBase

hasSharedCache()   X-Ref

return: bool

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|mixed

assertWritableRepo()   X-Ref
No description

getInfo()   X-Ref
Return information about the repository.

return: array



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