|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | mod |
Local Library of functions for module scorm. | |
Variables | |
| $attemptid = required_param('attempt', PARAM_INT) | |
| $attemptobj = quiz_attempt::create($attemptid) | |
| if($attemptobj->get_userid()!=$USER-> id) if(!$attemptobj-> is_preview_user()) if($attemptobj-> is_finished()) if($attemptobj-> is_preview_user()) | $accessmanager = $attemptobj->get_access_manager(time()) |
| $messages = $accessmanager->prevent_access() | |
| $output = $PAGE->get_renderer('mod_quiz') | |
| if(!$attemptobj-> is_preview_user()&&$messages) if($accessmanager-> is_preflight_check_required($attemptobj-> get_attemptid())) | $displayoptions = $attemptobj->get_display_options(false) |
| if(empty($attemptobj->get_quiz()-> showblocks)) | $navbc = $attemptobj->get_navigation_panel($output, 'quiz_attempt_nav_panel', -1) |
| $firstregion = reset($PAGE->blocks->get_regions()) | |
| if ($attemptobj->get_userid()!=$USER->id) if (!$attemptobj->is_preview_user()) if ($attemptobj->is_finished()) if ($attemptobj->is_preview_user()) $accessmanager = $attemptobj->get_access_manager(time()) |
Definition at line 59 of file summary.php.
| $attemptid = required_param('attempt', PARAM_INT) |
Definition at line 30 of file summary.php.
| $attemptobj = quiz_attempt::create($attemptid) |
Definition at line 34 of file summary.php.
| if (!$attemptobj->is_preview_user()&&$messages) if ($accessmanager->is_preflight_check_required($attemptobj->get_attemptid())) $displayoptions = $attemptobj->get_display_options(false) |
Definition at line 70 of file summary.php.
| $firstregion = reset($PAGE->blocks->get_regions()) |
Definition at line 83 of file summary.php.
| $messages = $accessmanager->prevent_access() |
Definition at line 60 of file summary.php.
| if (empty($attemptobj->get_quiz()->showblocks)) $navbc = $attemptobj->get_navigation_panel($output, 'quiz_attempt_nav_panel', -1) |
Definition at line 82 of file summary.php.
| $output = $PAGE->get_renderer('mod_quiz') |
Definition at line 61 of file summary.php.