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

Files

file  external.php
 This is the external API for this report.
 
file  lib.php
 Public API of the competency report.
 
file  provider.php
 Privacy Subsystem implementation for report_competency.
 
file  renderer.php
 Renderer class for report_competency.
 
file  report.php
 Class containing data for learning plan template competencies page.
 
file  services.php
 Competency report webservice functions.
 
file  user_course_navigation.php
 User navigation class.
 
file  version.php
 Plugin version info.
 

Namespaces

 report_competency
  
 
 report_competency\output
  
 
 report_competency\privacy
  
 

Classes

class  report_competency\external
 This is the external API for this report. More...
 
class  report_competency\output\renderer
 Renderer class for competency breakdown report. More...
 
class  report_competency\output\report
 Class containing data for learning plan template competencies page. More...
 
class  report_competency\output\user_course_navigation
 User course navigation class. More...
 
class  report_competency\privacy\provider
 Privacy Subsystem for report_competency implementing null_provider. More...
 

Functions

 report_competency_extend_navigation_course ($navigation, $course, $context)
 This function extends the navigation with the report items. More...
 
 report_competency_extend_navigation_module ($navigation, $cm)
 This function extends the navigation with the report items. More...
 

Variables

 $functions
 
$plugin component = 'report_competency'
 
$plugin dependencies
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ report_competency_extend_navigation_course()

report_competency_extend_navigation_course (   $navigation,
  $course,
  $context 
)

This function extends the navigation with the report items.

Parameters
navigation_node$navigationThe navigation node to extend
stdClass$courseThe course to object for the report
stdClass$contextThe context of the course

◆ report_competency_extend_navigation_module()

report_competency_extend_navigation_module (   $navigation,
  $cm 
)

This function extends the navigation with the report items.

Parameters
navigation_node$navigationThe navigation node to extend
cminfo$cmThe course module.

Variable Documentation

◆ $functions

$functions
Initial value:
= array(
'report_competency_data_for_report' => array(
'classname' => 'report_competency\external',
'methodname' => 'data_for_report',
'classpath' => '',
'description' => 'Load the data for the competency report in a course.',
'type' => 'read',
'capabilities' => 'moodle/competency:coursecompetencyview',
'ajax' => true,
)
)

◆ dependencies

$plugin dependencies
Initial value:
= array(
'tool_lp' => ANY_VERSION
)
ANY_VERSION
const ANY_VERSION
Any version - special value that can be used in $plugin->dependencies in version.php files.
Definition: component.php:38