original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: 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