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