Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
gradereport_grader

Namespaces

namespace  gradereport_grader\event
  
 
namespace  gradereport_grader\privacy
  
 

Classes

class  behat_gradereport_grader
 Steps definitions related with the drag and drop onto image question type. More...
 
class  grade_report_grader
 Class providing an API for the grader report building and displaying. More...
 
class  grader_report_preferences_form
 First implementation of the preferences in the form of a moodleform. More...
 
class  gradereport_grader\event\grade_report_viewed
 Grader report viewed event class. More...
 
class  gradereport_grader\privacy\provider
 Privacy Subsystem for gradereport_grader implementing null_provider. More...
 

Variables

 $capabilities
 
 $plugin = 2022111800
 
 $row = $tabs = array()
 
 $row []
 
 $tabcontext = context_course::instance($COURSE->id)
 
if(has_capability('moodle/grade:manage', $tabcontext)||has_capability('moodle/grade:edit', $tabcontext)||has_capability('gradereport/grader:view', $tabcontext)) $tabs [] = $row
 
$plugin component = 'gradereport_grader'
 
 if (!defined( 'MOODLE_INTERNAL'))
 
$plugin version = 2022112800
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
'gradereport/grader:view' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition accesslib.php:128
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
('')  

◆ $row

$row[]
Initial value:
= new tabobject('graderreport',
$CFG->wwwroot.'/grade/report/grader/index.php?id='.$courseid,
get_string('pluginname', 'gradereport_grader'))
Stores one tab.
Definition outputcomponents.php:3854