*
* @return IORMTable
*/
- protected abstract function getTable();
+ abstract protected function getTable();
/**
* Returns the name of the individual rows.
}
/**
- * 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
*
* @return array
*/
public function getAllowedParams() {
- $params = array (
+ $params = array(
'props' => array(
ApiBase::PARAM_TYPE => $this->getTable()->getFieldNames(),
ApiBase::PARAM_ISMULTI => true,
* @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',