Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

namespace  forumreport_summary
  
 
namespace  forumreport_summary\event
  
 
namespace  forumreport_summary\form
  
 
namespace  forumreport_summary\output
  
 
namespace  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 = 2020060900
 
$plugin component = 'forumreport_summary'
 
$plugin version = 2020061500
 

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
],
],
]
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
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130