Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
gradereport_history

Namespaces

namespace  gradereport_history
  
 
namespace  gradereport_history\event
  
 
namespace  gradereport_history\output
  
 
namespace  gradereport_history\privacy
  
 

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