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

Files

file  access.php
 Capabilities gradeexport plugin.
 
file  grade_exported.php
 Grade export event.
 
file  provider.php
 Privacy Subsystem implementation for gradeexport_xml.
 

Namespaces

namespace  gradeexport_xml\event
  
 
namespace  gradeexport_xml\privacy
  
 

Classes

class  gradeexport_xml\event\grade_exported
 Grade export event class. More...
 
class  gradeexport_xml\privacy\provider
 Privacy Subsystem for gradeexport_xml implementing null_provider. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'gradeexport/xml:view' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
'gradeexport/xml:publish' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'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