Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
report_competency

Namespaces

namespace  report_competency
  
 
namespace  report_competency\output
  
 
namespace  report_competency\privacy
  
 

Classes

class  behat_report_competency
 Competency report definitions. More...
 
class  report_competency\external
 
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 = 2024041600
 
$plugin component = 'report_competency'
 
$plugin dependencies
 
$plugin version = 2024042200
 

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:41