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

Namespaces

namespace  gradereport_summary\local\entities
  
 
namespace  gradereport_summary\local\systemreports
  
 
namespace  gradereport_summary\privacy
  
 

Classes

class  grade_report_summary
 Class providing an API for the summary report building. More...
 
class  gradereport_summary\local\entities\grade_items
 
class  gradereport_summary\local\systemreports\summary
 
class  gradereport_summary\privacy\provider
 Privacy Subsystem for gradereport_summary implementing null_provider. More...
 

Variables

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

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'gradereport/summary:view' => [
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => [
'editingteacher' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'manager' => CAP_ALLOW,
]
]
]
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