Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
gradereport_history

Namespaces

namespace  gradereport_history
 Form for grade history filters.
 
namespace  gradereport_history\event
 Grade history report viewed event.
 
namespace  gradereport_history\output
 Renderer for history grade report.
 
namespace  gradereport_history\privacy
 Privacy Subsystem implementation for gradereport_history.
 

Classes

class  gradereport_history\event\grade_report_viewed
 Grade history report viewed event class. More...
 
class  gradereport_history\filter_form
 Form for grade history filters. More...
 
class  gradereport_history\helper
 Helper class for gradehistory report. More...
 
class  gradereport_history\output\renderer
 Renderer for history grade report. More...
 
class  gradereport_history\output\tablelog
 Renderable class for gradehistory report. More...
 
class  gradereport_history\output\user_button
 A button that is used to select users for a form. More...
 
class  gradereport_history\privacy\provider
 Privacy Subsystem for gradereport_history implementing null_provider. More...
 

Functions

 xmldb_gradereport_history_upgrade ($oldversion)
 Function to upgrade grade history report.
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'gradereport_history'
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ xmldb_gradereport_history_upgrade()

xmldb_gradereport_history_upgrade ( $oldversion)

Function to upgrade grade history report.

Parameters
int$oldversionthe version we are upgrading from
Return values
boolresult

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'gradereport/history:view' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'gradereport/grader:view'
)
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition accesslib.php:128
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115
const RISK_PERSONAL
Capability allows access to personal user information - see
Definition accesslib.php:145