Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
quiz_grading

Namespaces

namespace  quiz_grading\privacy
  
 

Classes

class  quiz_grading\privacy\provider
 Privacy subsystem for quiz_grading. More...
 
class  quiz_grading_renderer
 The renderer for the quiz_grading module. More...
 
class  quiz_grading_settings_form
 Quiz grading report settings form. More...
 

Functions

 xmldb_quiz_grading_install ()
 Post-install script.
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'quiz_grading'
 
$plugin version = 2023100900
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'quiz/grading:viewstudentnames' => [
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'legacy' => [
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
],
'clonepermissionsfrom' => 'mod/quiz:viewreports'
],
'quiz/grading:viewidnumber' => [
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'legacy' => [
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
],
'clonepermissionsfrom' => 'mod/quiz:viewreports'
]
]
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition accesslib.php:130