Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
forumreport_summary

Namespaces

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

Classes

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 = 2024041600
 
$plugin component = 'forumreport_summary'
 
$plugin version = 2024042200
 

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