Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
report_competency

Topics

 test
 
 

Directories

directory tests
  
 

Namespaces

namespace  report_competency
  
 
namespace  report_competency\output
 Renderer class for report_competency.
 
namespace  report_competency\privacy
 Privacy Subsystem implementation for report_competency.
 

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.
 
 report_competency_extend_navigation_module ($navigation, $cm)
 This function extends the navigation with the report items.
 

Variables

 $functions
 
 $plugin = 2023100400
 
$plugin component = 'report_competency'
 
$plugin dependencies
 
$plugin version = 2023100900
 

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:
= [
'tool_lp' => ANY_VERSION,
]
const ANY_VERSION
Any version - special value that can be used in $plugin->dependencies in version.php files.
Definition component.php:38