Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
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

 gradereport_history
  
 
 gradereport_history\event
  
 
 gradereport_history\output
  
 
 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 component = 'gradereport_history'
 
$plugin requires = 2019111200
 
$plugin version = 2019111801
 

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'
)
)
RISK_PERSONAL
const RISK_PERSONAL
Capability allows access to personal user information - see http://docs.moodle.org/dev/Hardening_new_...
Definition: accesslib.php:145
CONTEXT_COURSE
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115