* @ingroup FileRepo
*/
class ForeignDBViaLBRepo extends LocalRepo {
+ /** @var string */
protected $wiki;
+
+ /** @var string */
protected $dbName;
+
+ /** @var string */
protected $tablePrefix;
+
+ /** @var array */
protected $fileFactory = array( 'ForeignDBFile', 'newFromTitle' );
+
+ /** @var array */
protected $fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' );
/**
- * @param $info array|null
+ * @param array|null $info
*/
function __construct( $info ) {
parent::__construct( $info );
protected function assertWritableRepo() {
throw new MWException( get_class( $this ) . ': write operations are not supported.' );
}
+
+ public function getInfo() {
+ return FileRepo::getInfo();
+ }
}