Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
Functions | Variables
lib.php File Reference

Definition of the grade_user_report class is defined. More...

Functions

 grade_report_user_profilereport (object $course, object $user, bool $viewasuser=false)
 Profile report callback.
 
 grade_report_user_settings_definition (&$mform)
 
 gradereport_user_get_report_link (context_course $context, int $courseid, array $element, grade_plugin_return $gpr, string $mode, ?stdClass $templatecontext)
 Returns link to user report for the current element.
 
 gradereport_user_myprofile_navigation (tree $tree, stdClass $user, bool $iscurrentuser, ?stdClass $course)
 Add nodes to myprofile page.
 

Variables

const GRADE_REPORT_USER_HIDE_HIDDEN 0
 
const GRADE_REPORT_USER_HIDE_UNTIL 1
 
const GRADE_REPORT_USER_SHOW_HIDDEN 2
 
const GRADE_REPORT_USER_VIEW_SELF 1
 
const GRADE_REPORT_USER_VIEW_USER 2
 

Detailed Description

Definition of the grade_user_report class is defined.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later