public function params() { $this->set_param_dir('start', 'end', 'dir'); $this->set_param_dir('startid', 'endid', 'dir'); return parent::params(); }