Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
gradereport_history

Files

file  access.php
 Capability definition for the gradebook grader report.
 
file  filter_form.php
 Form for grade history filters.
 
file  grade_report_viewed.php
 Grade history report viewed event.
 
file  helper.php
 Helper class for gradehistory report.
 
file  provider.php
 Privacy Subsystem implementation for gradereport_history.
 
file  renderer.php
 Renderer for history grade report.
 
file  settings.php
 Defines site config settings for the grade history report.
 
file  tablelog.php
 Renderable class for gradehistory report.
 
file  upgrade.php
 Grade overview report upgrade steps.
 
file  user_button.php
 User button.
 
file  version.php
 Version details for the grade 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. More...
 

Variables

 $capabilities
 
 $plugin = 2020060900
 
$plugin component = 'gradereport_history'
 
$plugin version = 2020061500
 

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