Rename mw.util.wikiGetlink to getUrl
[lhc/web/wiklou.git] / includes / api / ApiQueryORM.php
index ace2105..a23ff06 100644 (file)
@@ -35,7 +35,7 @@ abstract class ApiQueryORM extends ApiQueryBase {
         *
         * @return IORMTable
         */
-       protected abstract function getTable();
+       abstract protected function getTable();
 
        /**
         * Returns the name of the individual rows.
@@ -94,8 +94,8 @@ abstract class ApiQueryORM extends ApiQueryBase {
        }
 
        /**
-        * Get the request parameters, handle the * value for the props param
-        * and remove all params set to null (ie those that are not actually provided).
+        * Get the request parameters and remove all params set
+        * to null (ie those that are not actually provided).
         *
         * @since 1.21
         *
@@ -228,7 +228,7 @@ abstract class ApiQueryORM extends ApiQueryBase {
         * @return array
         */
        public function getAllowedParams() {
-               $params = array (
+               $params = array(
                        'props' => array(
                                ApiBase::PARAM_TYPE => $this->getTable()->getFieldNames(),
                                ApiBase::PARAM_ISMULTI => true,
@@ -252,7 +252,7 @@ abstract class ApiQueryORM extends ApiQueryBase {
         * @return array
         */
        public function getParamDescription() {
-               $descriptions = array (
+               $descriptions = array(
                        'props' => 'Fields to query',
                        'continue' => 'Offset number from where to continue the query',
                        'limit' => 'Max amount of rows to return',