[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Definition of the grade_overview_report class
Copyright: | 2007 Nicolas Connault |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 363 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
grade_report_overview:: (9 methods):
__construct()
setup_table()
fill_table()
print_table()
print_teacher_table()
process_data()
process_action()
supports_mygrades()
grade_report_overview_settings_definition()
Class: grade_report_overview - X-Ref
Class providing an API for the overview report building and displaying.__construct($userid, $gpr, $context) X-Ref |
Constructor. Sets local copies of user preferences and initialises grade_tree. param: int $userid param: object $gpr grade plugin return tracking object param: string $context |
setup_table() X-Ref |
Prepares the headers and attributes of the flexitable. |
fill_table($activitylink = false, $studentcoursesonly = false) X-Ref |
Fill the table for displaying. param: bool $activitylink If this report link to the activity report or the user report. param: bool $studentcoursesonly Only show courses that the user is a student of. |
print_table($return=false) X-Ref |
Prints or returns the HTML from the flexitable. param: bool $return Whether or not to return the data instead of printing it directly. return: string |
print_teacher_table() X-Ref |
Print a table to show courses that the user is able to grade. |
process_data($data) X-Ref |
Processes the data sent by the form (grades and feedbacks). param: array $data return: bool Success or Failure (array of errors). |
process_action($target, $action) X-Ref |
No description |
supports_mygrades() X-Ref |
This report supports being set as the 'grades' report. |
grade_report_overview_settings_definition(&$mform) X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |