コード例 #1
0
 public function getAllowedParams()
 {
     return array_merge((array) parent::getAllowedParams(), array('article_id' => array(ApiBase::PARAM_TYPE => 'string', ApiBase::PARAM_REQUIRED => true), 'edit_permissions' => array(ApiBase::PARAM_TYPE => 'string', ApiBase::PARAM_REQUIRED => false)));
 }
コード例 #2
0
 public function getAllowedParams()
 {
     return parent::getAllowedParams();
 }
コード例 #3
0
ファイル: ApiUserInfo.php プロジェクト: lykoss/wiki
 public function getParamDescription()
 {
     return array_merge(parent::getAllowedParams(), array('ui_user' => wfMessage('werewolfwiki-userinfo-param-user')->text()));
 }