Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/quiz/review.php File Reference

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)
 $page = optional_param('page', 0, PARAM_INT)
 $showall = optional_param('showall', 0, PARAM_BOOL)
 $url = new moodle_url('/mod/quiz/review.php', array('attempt'=>$attemptid))
 $attemptobj = quiz_attempt::create($attemptid)
 $accessmanager = $attemptobj->get_access_manager(time())
 $options = $attemptobj->get_display_options(true)
 $attempt = $attemptobj->get_attempt()
 $quiz = $attemptobj->get_quiz()
 $overtime = 0
if(!$attemptobj->get_quiz()->
showuserpicture &&$attemptobj->
get_userid()!=$USER->id) if($attemptobj->
has_capability('mod/quiz:viewreports')) 
$summarydata ['startedon']
if($attempt->timefinish) if(!empty($overtime)) $grade = quiz_rescale_grade($attempt->sumgrades, $quiz, false)
if($options->marks >
=question_display_options::MARK_AND_MAX
&&quiz_has_grades($quiz)) 
$feedback = $attemptobj->get_overall_feedback($grade)
 $navbc = $attemptobj->get_navigation_panel($output, 'quiz_review_nav_panel', $page, $showall)
 $firstregion = reset($PAGE->blocks->get_regions())

Variable Documentation

$accessmanager = $attemptobj->get_access_manager(time())

Definition at line 54 of file review.php.

$attempt = $attemptobj->get_attempt()

Definition at line 111 of file review.php.

Definition at line 34 of file review.php.

Definition at line 47 of file review.php.

if ($options->marks >=question_display_options::MARK_AND_MAX &&quiz_has_grades($quiz)) $feedback = $attemptobj->get_overall_feedback($grade)

Definition at line 225 of file review.php.

$firstregion = reset($PAGE->blocks->get_regions())

Definition at line 247 of file review.php.

if ($attempt->timefinish) if (!empty($overtime)) $grade = quiz_rescale_grade($attempt->sumgrades, $quiz, false)

Definition at line 179 of file review.php.

$navbc = $attemptobj->get_navigation_panel($output, 'quiz_review_nav_panel', $page, $showall)

Definition at line 246 of file review.php.

$options = $attemptobj->get_display_options(true)

Definition at line 55 of file review.php.

$overtime = 0

Definition at line 113 of file review.php.

Definition at line 35 of file review.php.

$quiz = $attemptobj->get_quiz()

Definition at line 112 of file review.php.

$showall = optional_param('showall', 0, PARAM_BOOL)

Definition at line 36 of file review.php.

if (!$attemptobj->get_quiz()->showuserpicture &&$attemptobj->get_userid()!=$USER->id) if ($attemptobj->has_capability('mod/quiz:viewreports')) $summarydata['startedon']
Initial value:
 array(
    'title'   => get_string('startedon', 'quiz'),
    'content' => userdate($attempt->timestart),
)

Definition at line 155 of file review.php.

$url = new moodle_url('/mod/quiz/review.php', array('attempt'=>$attemptid))

Definition at line 38 of file review.php.

 All Data Structures Namespaces Files Functions Variables Enumerations