public static function print_expired_export() {
        global $CFG, $OUTPUT, $PAGE;
        $title = get_string('exportexpired', 'portfolio');
        $PAGE->navbar->add(get_string('exportexpired', 'portfolio'));
        $PAGE->set_title($title);
        $PAGE->set_heading($title);
        echo $OUTPUT->header();
        echo $OUTPUT->notification(get_string('exportexpireddesc', 'portfolio'));
        echo $OUTPUT->continue_button($CFG->wwwroot);
        echo $OUTPUT->footer();
        exit;
    }
public static function print_expired_export() {
        global $CFG, $OUTPUT, $PAGE;
        $title = get_string('exportexpired', 'portfolio');
        $PAGE->navbar->add(get_string('exportexpired', 'portfolio'));
        $PAGE->set_title($title);
        $PAGE->set_heading($title);
        echo $OUTPUT->header();
        echo $OUTPUT->notification(get_string('exportexpireddesc', 'portfolio'));
        echo $OUTPUT->continue_button($CFG->wwwroot);
        echo $OUTPUT->footer();
        exit;
    }
public static function print_expired_export ( ) { global $ CFG , $ OUTPUT , $ PAGE ; $ title = get_string ( 'exportexpired' , 'portfolio' ) ; $ PAGE -> navbar -> add ( get_string ( 'exportexpired' , 'portfolio' ) ) ; $ PAGE -> set_title ( $ title ) ; $ PAGE -> set_heading ( $ title ) ; echo $ OUTPUT -> header ( ) ; echo $ OUTPUT -> notification ( get_string ( 'exportexpireddesc' , 'portfolio' ) ) ; echo $ OUTPUT -> continue_button ( $ CFG -> wwwroot ) ; echo $ OUTPUT -> footer ( ) ; exit ; }
Wrapper function to print a friendly error to users
This is generally caused by them hitting an expired transfer
through the usage of the backbutton

@uses exit
Wrapper function to print a friendly error to users This is generally caused by them hitting an expired transfer through the usage of the backbutton