* @ingroup FileRepo
*/
class ForeignDBRepo extends LocalRepo {
- # Settings
+ /** @var string */
protected $dbType;
+
+ /** @var string */
protected $dbServer;
+
+ /** @var string */
protected $dbUser;
+
+ /** @var string */
protected $dbPassword;
+
+ /** @var string */
protected $dbName;
+
+ /** @var string */
protected $dbFlags;
+
+ /** @var string */
protected $tablePrefix;
+
+ /** @var bool */
protected $hasSharedCache;
# Other stuff
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.' );
}
+
+ /**
+ * Return information about the repository.
+ *
+ * @return array
+ * @since 1.22
+ */
+ function getInfo() {
+ return FileRepo::getInfo();
+ }
}