/** * Overload method to initialize report groupings * used here to also init report data! * * @return parent::initialize_groupings(); */ function initialize_groupings() { $this->get_filter_values(); // populate require class properties $this->grouptotal = 0; return parent::initialize_groupings(); }
/** * Overload method to initialize report groupings * used here to also init report data! * * @return parent::initialize_groupings(); */ function initialize_groupings() { $show_array = php_report_filtering_get_active_filter_values($this->get_report_shortname(), 'sccts', $this->filter); if (isset($show_array[0]['value'])) { $this->show_time_spent = $show_array[0]['value'] == 1 ? true : false; } $show_array = php_report_filtering_get_active_filter_values($this->get_report_shortname(), 'sccg', $this->filter); if (isset($show_array[0]['value'])) { $this->show_total_grade = $show_array[0]['value'] == 1 ? true : false; } return parent::initialize_groupings(); }