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()));
 }