Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
report_completion

Files

file  access.php
 Capabilities.
 
file  provider.php
 Privacy provider implementation for report_completion.
 
file  report_viewed.php
 The report_completion report viewed event.
 
file  user_report_viewed.php
 The report_completion user report viewed event.
 

Namespaces

 report_completion\event
  
 
 report_completion\privacy
  
 

Classes

class  report_completion\event\report_viewed
 The report_completion report viewed event class. More...
 
class  report_completion\event\user_report_viewed
 The report_completion user report viewed event class. More...
 
class  report_completion\privacy\provider
 Privacy provider implementation for report_completion. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

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