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

Files

file  access.php
 Plugin capabilities.
 
file  provider.php
 Privacy Subsystem implementation for report_stats.
 
file  report_viewed.php
 The report_stats report viewed event.
 
file  user_report_viewed.php
 The report_stats user report viewed event.
 

Namespaces

namespace  report_stats\event
  
 
namespace  report_stats\privacy
  
 

Classes

class  report_stats\event\report_viewed
 
class  report_stats\event\user_report_viewed
 The report_stats user report viewed event class. More...
 
class  report_stats\privacy\provider
 Privacy Subsystem for report_stats implementing provider. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

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