public function getAllowedParams()
 {
     return array('startId' => array(ApiBase::PARAM_REQUIRED => true), 'endId' => array(ApiBase::PARAM_REQUIRED => true)) + parent::getAllowedParams();
 }
コード例 #2
0
 public function __construct($api, $modName)
 {
     parent::__construct($api, $modName, 'vt');
 }
コード例 #3
0
 public function __construct($api, $modName)
 {
     parent::__construct($api, $modName, 'q');
     $this->searchEngine = new SearchEngine();
 }