Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

Implementaton of the quizaccess_timelimit plugin.

Copyright: 2011 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 84 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

quizaccess_timelimit:: (6 methods):
  make()
  description()
  end_time()
  time_left_display()
  is_preflight_check_required()
  add_preflight_check_form_fields()


Class: quizaccess_timelimit  - X-Ref

A rule representing the time limit. It does not actually restrict access, but we use this
class to encapsulate some of the relevant code.

make(quiz $quizobj, $timenow, $canignoretimelimits)   X-Ref
No description

description()   X-Ref
No description

end_time($attempt)   X-Ref
No description

time_left_display($attempt, $timenow)   X-Ref
No description

is_preflight_check_required($attemptid)   X-Ref
No description

add_preflight_check_form_fields(mod_quiz_preflight_check_form $quizform,MoodleQuickForm $mform, $attemptid)   X-Ref
No description