[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/quiz/report/ -> default.php (summary)

Base class for quiz report plugins.

Copyright: 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 93 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  print_header_and_tabs()
  get_current_group()

Functions
Functions that are not part of a class:

print_header_and_tabs($cm, $course, $quiz, $reportmode = 'overview')   X-Ref
Initialise some parts of $PAGE and start output.

param: object $cm the course_module information.
param: object $coures the course settings.
param: object $quiz the quiz settings.
param: string $reportmode the report name.

get_current_group($cm, $course, $context)   X-Ref
Get the current group for the user user looking at the report.

param: object $cm the course_module information.
param: object $coures the course settings.
param: context $context the quiz context.
return: int the current group id, if applicable. 0 for all users,



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1