Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | access.php |
Defines capabilities for the user report. | |
file | externallib.php |
External grade report user API. | |
file | grade_report_viewed.php |
User report viewed event. | |
file | lib.php |
Definition of the grade_user_report class is defined. | |
file | provider.php |
Privacy Subsystem implementation for gradereport_user. | |
file | renderer.php |
Renderer for the grade user report. | |
file | services.php |
User grade report external functions and service definitions. | |
file | settings.php |
Defines site settings for the user gradebook report. | |
file | upgrade.php |
Gradereport user plugin upgrade code. | |
file | version.php |
Version details for the user gradebook report. | |
Namespaces | |
namespace | gradereport_user\event |
| |
namespace | gradereport_user\privacy |
| |
Classes | |
class | grade_report_user |
Class providing an API for the user report building and displaying. More... | |
class | gradereport_user\event\grade_report_viewed |
User report viewed event class. More... | |
class | gradereport_user\privacy\provider |
Privacy Subsystem for gradereport_user implementing null_provider. More... | |
class | gradereport_user_external |
class | gradereport_user_renderer |
Custom renderer for the user grade report. More... | |
Functions | |
grade_report_user_profilereport ($course, $user, $viewasuser=false) | |
Profile report callback. More... | |
grade_report_user_settings_definition (&$mform) | |
gradereport_user_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. More... | |
xmldb_gradereport_user_upgrade ($oldversion) | |
Variables | |
$capabilities | |
$functions | |
$plugin = 2020060900 | |
$plugin | component = 'gradereport_user' |
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 |
$plugin | version = 2020061500 |
grade_report_user_profilereport | ( | $course, | |
$user, | |||
$viewasuser = false |
|||
) |
Profile report callback.
object | $course | The course. |
object | $user | The user. |
boolean | $viewasuser | True when we are viewing this as the targetted user sees it. |
gradereport_user_myprofile_navigation | ( | core_user\output\myprofile\tree | $tree, |
$user, | |||
$iscurrentuser, | |||
$course | |||
) |
Add nodes to myprofile page.
core_user::output::myprofile::tree | $tree | Tree object |
stdClass | $user | user object |
bool | $iscurrentuser | |
stdClass | $course | Course object |
xmldb_gradereport_user_upgrade | ( | $oldversion | ) |
int | $oldversion | the version we are upgrading from |
bool | result |
$capabilities |
$functions |