Cleanup some docs (includes/[a-d])
[lhc/web/wiklou.git] / includes / filerepo / ForeignDBRepo.php
index b38416f..6e9e6ad 100644 (file)
  * @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
@@ -43,7 +57,7 @@ class ForeignDBRepo extends LocalRepo {
        protected $fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' );
 
        /**
-        * @param $info array|null
+        * @param array|null $info
         */
        function __construct( $info ) {
                parent::__construct( $info );
@@ -112,4 +126,14 @@ class ForeignDBRepo extends LocalRepo {
        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();
+       }
 }