Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 76 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_settings $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(preflight_check_form $quizform,MoodleQuickForm $mform, $attemptid)   X-Ref
No description