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

Files

file  access.php
 Forum summary report subplugin capabilities.
 
file  dates_filter_form.php
 The mform used by the forum summary report dates filter.
 
file  filters.php
 Forum summary report filters renderable.
 
file  provider.php
 Privacy Subsystem implementation for forumreport_summary subplugin.
 
file  renderer.php
 Provides rendering functionality for the forum summary report subplugin.
 
file  report_downloaded.php
 The forum summary report downloaded event.
 
file  report_viewed.php
 The forum summary report viewed event.
 
file  summary_table.php
 The class for displaying the forum report table.
 
file  version.php
 Defines the version of the forum report subplugin.
 

Namespaces

 forumreport_summary
  
 
 forumreport_summary\event
  
 
 forumreport_summary\form
  
 
 forumreport_summary\output
  
 
 forumreport_summary\privacy
  
 

Classes

class  forumreport_summary\event\report_downloaded
 The forum summary report downloaded event class. More...
 
class  forumreport_summary\event\report_viewed
 The forum summary report viewed event class. More...
 
class  forumreport_summary\form\dates_filter_form
 The mform class for creating the forum summary report dates filter. More...
 
class  forumreport_summary\output\filters
 Forum summary report filters renderable. More...
 
class  forumreport_summary\privacy\provider
 Privacy Subsystem implementation for forumreport_summary subplugin, implementing null_provider. More...
 
class  forumreport_summary\summary_table
 The class for displaying the forum report table. More...
 
class  forumreport_summary_renderer
 Renderer for the forum summary report. More...
 

Variables

 $capabilities
 
$plugin component = 'forumreport_summary'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'forumreport/summary:view' => [
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
],
],
'forumreport/summary:viewall' => [
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
],
],
]
RISK_PERSONAL
const RISK_PERSONAL
Capability allows access to personal user information - see http://docs.moodle.org/dev/Hardening_new_...
Definition: accesslib.php:145
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
CONTEXT_MODULE
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130