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

Files

file  access.php
 Capabilities.
 
file  activity_report_viewed.php
 The report_outline activity report viewed event.
 
file  behat_report_outline.php
 Custom behat functions.
 
file  filter_form.php
 Form to filter the outline report.
 
file  provider.php
 Privacy Subsystem implementation for report_outline.
 
file  report_viewed.php
 The report_outline outline report viewed event.
 

Namespaces

namespace  report_outline
  
 
namespace  report_outline\event
  
 
namespace  report_outline\privacy
  
 

Classes

class  behat_report_outline
 Class behat_report_outline custom Behat steps for report_outline. More...
 
class  report_outline\event\activity_report_viewed
 The report_outline activity report viewed event class. More...
 
class  report_outline\event\report_viewed
 
class  report_outline\filter_form
 Class filter_form form to filter the results by date. More...
 
class  report_outline\privacy\provider
 Privacy Subsystem for report_outline implementing null_provider. More...
 

Variables

 $capabilities
 
global report_outline::$CFG
 

Detailed Description

Variable Documentation

◆ $capabilities

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