Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_competency

Namespaces

namespace  core\event
  
 
namespace  core\task
  
 
namespace  core_competency
  
 
namespace  core_competency\external
  
 
namespace  core_competency\privacy
  
 

Classes

class  behat_core_competency_generator
 
class  core\event\competency_comment_created
 Comment created event class for core_competency areas. More...
 
class  core\event\competency_comment_deleted
 Comment deleted event class for core_competency areas. More...
 
class  core\event\competency_created
 Competency created event class. More...
 
class  core\event\competency_deleted
 Competency deleted event class. More...
 
class  core\event\competency_framework_created
 
class  core\event\competency_framework_deleted
 
class  core\event\competency_framework_updated
 
class  core\event\competency_framework_viewed
 Competency framework viewed event class. More...
 
class  core\event\competency_plan_approved
 
class  core\event\competency_plan_completed
 
class  core\event\competency_plan_created
 
class  core\event\competency_plan_deleted
 
class  core\event\competency_plan_reopened
 
class  core\event\competency_plan_review_request_cancelled
 
class  core\event\competency_plan_review_requested
 
class  core\event\competency_plan_review_started
 
class  core\event\competency_plan_review_stopped
 
class  core\event\competency_plan_unapproved
 
class  core\event\competency_plan_unlinked
 Plan unlinked event class. More...
 
class  core\event\competency_plan_updated
 
class  core\event\competency_plan_viewed
 
class  core\event\competency_template_created
 
class  core\event\competency_template_deleted
 
class  core\event\competency_template_updated
 
class  core\event\competency_template_viewed
 
class  core\event\competency_updated
 Competency updated event class. More...
 
class  core\event\competency_user_competency_plan_viewed
 
class  core\event\competency_user_competency_rated
 
class  core\event\competency_user_competency_rated_in_course
 
class  core\event\competency_user_competency_rated_in_plan
 
class  core\event\competency_user_competency_viewed_in_course
 
class  core\event\competency_user_competency_viewed_in_plan
 
class  core\event\competency_user_evidence_created
 
class  core\event\competency_user_evidence_deleted
 
class  core\event\competency_user_evidence_updated
 
class  core\event\competency_viewed
 Competency viewed event class. More...
 
class  core\task\complete_plans_task
 Complete plans task class. More...
 
class  core\task\sync_plans_from_template_cohorts_task
 Synchronise plans from template cohorts. More...
 
class  core_competency\competency
 Class for loading/storing competencies from the DB. More...
 
class  core_competency\competency_framework
 Class for loading/storing competency frameworks from the DB. More...
 
class  core_competency\competency_rule
 Competency rule base abstract class. More...
 
class  core_competency\competency_rule_all
 Competency rule all class. More...
 
class  core_competency\competency_rule_points
 Competency rule points based class. More...
 
class  core_competency\course_competency
 Class for loading/storing course_competencies from the DB. More...
 
class  core_competency\course_competency_settings
 Class for course_competency_settings persistence. More...
 
class  core_competency\course_module_competency
 Class for loading/storing course_module_competencies from the DB. More...
 
class  core_competency\evidence
 Evidence persistent class. More...
 
class  core_competency\external
 External API class. More...
 
class  core_competency\external\competency_exporter
 Class for exporting competency data. More...
 
class  core_competency\external\competency_framework_exporter
 Class for exporting competency_framework data. More...
 
class  core_competency\external\course_competency_exporter
 Class for exporting course competency data. More...
 
class  core_competency\external\course_competency_settings_exporter
 Class for exporting course_competency_settings data. More...
 
class  core_competency\external\course_module_competency_exporter
 Class for exporting course module competency data. More...
 
class  core_competency\external\evidence_exporter
 Class for exporting evidence data. More...
 
class  core_competency\external\performance_helper
 Performance helper class. More...
 
class  core_competency\external\plan_competency_exporter
 Class for exporting plan competency data. More...
 
class  core_competency\external\plan_exporter
 Class for exporting plan data. More...
 
class  core_competency\external\related_competency_exporter
 Class for exporting related competency data. More...
 
class  core_competency\external\template_competency_exporter
 Class for exporting template competency data. More...
 
class  core_competency\external\template_exporter
 Class for exporting template data. More...
 
class  core_competency\external\user_competency_course_exporter
 Class for exporting user competency course data. More...
 
class  core_competency\external\user_competency_exporter
 Class for exporting user competency data. More...
 
class  core_competency\external\user_competency_plan_exporter
 Class for exporting plan competency data. More...
 
class  core_competency\external\user_evidence_competency_exporter
 User evidence competency exporter class. More...
 
class  core_competency\external\user_evidence_exporter
 Class for exporting user_evidence data. More...
 
class  core_competency\invalid_persistent_exception
 Invalid persistent exception class. More...
 
class  core_competency\persistent
 Abstract class for core_competency objects saved to the DB. More...
 
class  core_competency\plan
 Class for loading/storing plans from the DB. More...
 
class  core_competency\plan_competency
 Class for managing competencies in the plan (add/remove competencies for given plan). More...
 
class  core_competency\privacy\provider
 
class  core_competency\related_competency
 Class for loading/storing related_competencies from the DB. More...
 
class  core_competency\template
 Class for loading/storing learning plan templates from the DB. More...
 
class  core_competency\template_cohort
 Template cohort persistent. More...
 
class  core_competency\template_competency
 Class for loading/storing template_competencies from the DB. More...
 
class  core_competency\url
 URL manager class. More...
 
class  core_competency\user_competency
 Class for loading/storing user_competency from the DB. More...
 
class  core_competency\user_competency_course
 Class for loading/storing user_competency_course from the DB. More...
 
class  core_competency\user_competency_plan
 Class for loading/storing user_competency_plan from the DB. More...
 
class  core_competency\user_evidence
 User evidence persistent class. More...
 
class  core_competency\user_evidence_competency
 User evidence competency persistent class. More...
 
class  core_competency_generator
 Competency data generator class. More...
 

Functions

 core_competency_comment_add ($comment, $params)
 Hook when a comment is added.
 
 core_competency_comment_permissions ($params)
 Return the permissions of for the comments.
 
 core_competency_comment_validate ($params)
 Validates comments.
 
 core_competency_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 File serving.
 

Variables

global $CFG
 

Detailed Description

Function Documentation

◆ core_competency_comment_add()

core_competency_comment_add ( $comment,
$params )

Hook when a comment is added.

Parameters
stdClass$commentThe comment.
stdClass$paramsThe parameters.
Return values
array

◆ core_competency_comment_permissions()

core_competency_comment_permissions ( $params)

Return the permissions of for the comments.

Parameters
stdClass$paramsThe parameters.
Return values
array

◆ core_competency_comment_validate()

core_competency_comment_validate ( $params)

Validates comments.

Parameters
stdClass$paramsThe parameters.
Return values
bool

◆ core_competency_pluginfile()

core_competency_pluginfile ( $course,
$cm,
$context,
$filearea,
$args,
$forcedownload,
array $options = array() )

File serving.

Parameters
stdClass$courseThe course object.
stdClass$cmThe cm object.
context$contextThe context object.
string$fileareaThe file area.
array$argsList of arguments.
bool$forcedownloadWhether or not to force the download of the file.
array$optionsArray of options.
Return values
void|false