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

Files

file  access.php
 Capability definitions for the quiz manual grading report.
 
file  gradingsettings_form.php
 This file defines the setting form for the quiz grading report.
 
file  install.php
 Post-install script for the quiz manual grading report.
 
file  provider.php
 Privacy Subsystem implementation for quiz_grading.
 
file  renderer.php
 Defines the renderer for the quiz_grading module.
 
file  report.php
 This file defines the quiz manual grading report class.
 
file  version.php
 Quiz grading report version information.
 

Namespaces

 quiz_grading\privacy
  
 

Classes

class  quiz_grading\privacy\provider
 Privacy Subsystem for quiz_grading implementing null_provider. More...
 
class  quiz_grading_renderer
 The renderer for the quiz_grading module. More...
 
class  quiz_grading_report
 Quiz report to help teachers manually grade questions that need it. More...
 
class  quiz_grading_settings_form
 Quiz grading report settings form. More...
 

Functions

 xmldb_quiz_grading_install ()
 Post-install script.
 

Variables

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

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'quiz/grading:viewstudentnames' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'legacy' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
),
'clonepermissionsfrom' => 'mod/quiz:viewreports'
),
'quiz/grading:viewidnumber' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'legacy' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
),
'clonepermissionsfrom' => 'mod/quiz:viewreports'
)
)
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