public function __construct($params = false) { $this->section = $this->get_parent_page()->section; parent::__construct($params); }
protected function get_base_params() { $params = parent::get_base_params(); $params['role'] = $this->required_param('role', PARAM_INT); return $params; }
protected function get_table_footer() { if ($this->is_assigning()) { return get_string('onlyvalidmoodleusers', 'local_elisprogram'); } return parent::get_table_footer(); }