function display_header_result($evalobj, $selectcat, $page) {
static function display_header_result($evalobj, $selectcat, $page) {
if (api_is_allowed_to_edit(null, true)) {
$header = '<divclass="actions">';
if ($page != 'statistics') {
@ -158,7 +158,7 @@ class DisplayGradebook
* @param $showeval
* @param $showlink
*/
function display_header_reduce_flatview($catobj, $showeval, $showlink,$simple_search_form) {
static function display_header_reduce_flatview($catobj, $showeval, $showlink,$simple_search_form) {
$header = '<divclass="actions">';
if ($catobj->get_parent_id() == 0) {
$select_cat = $catobj->get_id();
@ -356,7 +356,7 @@ class DisplayGradebook
* @param boolean Whether to show or not the link to add a new item inside the qualification (we hide it in case of the course-embedded tool where we have only one calification per course or session)
* @return void Everything is printed on screen upon closing