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

Files

file  api.php
 Class for loading/storing competency frameworks from the DB.
 
file  competency.php
 Class for loading/storing competencies from the DB.
 
file  competency.php
 File.
 
file  competency_comment_created.php
 Comment created event for core_competency areas.
 
file  competency_comment_deleted.php
 Comment deleted event for core_competency areas.
 
file  competency_created.php
 Competency created event.
 
file  competency_deleted.php
 Competency deleted event.
 
file  competency_evidence_created.php
 Evidence created event.
 
file  competency_exporter.php
 Class for exporting competency data.
 
file  competency_framework.php
 Class for loading/storing competency frameworks from the DB.
 
file  competency_framework_created.php
 Competency framework created event.
 
file  competency_framework_deleted.php
 Competency framework deleted event.
 
file  competency_framework_exporter.php
 Class for exporting competency_framework data.
 
file  competency_framework_updated.php
 Competency framework updated event.
 
file  competency_framework_viewed.php
 Competency framework viewed event.
 
file  competency_plan_approved.php
 Plan approved event.
 
file  competency_plan_completed.php
 Plan completed event.
 
file  competency_plan_created.php
 Plan created event.
 
file  competency_plan_deleted.php
 Plan deleted event.
 
file  competency_plan_reopened.php
 Plan reopened event.
 
file  competency_plan_review_request_cancelled.php
 Plan review request cancelled event.
 
file  competency_plan_review_requested.php
 Plan review requested event.
 
file  competency_plan_review_started.php
 Plan review started event.
 
file  competency_plan_review_stopped.php
 Plan review stopped event.
 
file  competency_plan_unapproved.php
 Plan unapproved event.
 
file  competency_plan_unlinked.php
 Plan unlinked event.
 
file  competency_plan_updated.php
 Plan updated event.
 
file  competency_plan_viewed.php
 Plan viewed event.
 
file  competency_rule.php
 Competency rule base.
 
file  competency_rule_all.php
 Competency rule all.
 
file  competency_rule_points.php
 Competency rule points based.
 
file  competency_template_created.php
 Template created event.
 
file  competency_template_deleted.php
 Template deleted event.
 
file  competency_template_updated.php
 Template updated event.
 
file  competency_template_viewed.php
 Template viewed event.
 
file  competency_updated.php
 Competency updated event.
 
file  competency_user_competency_plan_viewed.php
 User competency plan viewed event.
 
file  competency_user_competency_rated.php
 User competency grade rated event.
 
file  competency_user_competency_rated_in_course.php
 User competency grade rated in course event.
 
file  competency_user_competency_rated_in_plan.php
 User competency grade rated in course event.
 
file  competency_user_competency_review_request_cancelled.php
 User competency review requested event.
 
file  competency_user_competency_review_requested.php
 User competency review requested event.
 
file  competency_user_competency_review_started.php
 User competency review started event.
 
file  competency_user_competency_review_stopped.php
 User competency review stopped event.
 
file  competency_user_competency_viewed.php
 User competency viewed event.
 
file  competency_user_competency_viewed_in_course.php
 User competency viewed event.
 
file  competency_user_competency_viewed_in_plan.php
 User competency viewed event.
 
file  competency_user_evidence_created.php
 Evidence of prior learning created event.
 
file  competency_user_evidence_deleted.php
 Evidence of prior learning deleted event.
 
file  competency_user_evidence_updated.php
 Evidence of prior learning updated event.
 
file  competency_viewed.php
 Competency viewed event.
 
file  complete_plans_task.php
 Complete plans task.
 
file  course_competency.php
 Class for loading/storing competencies from the DB.
 
file  course_competency_exporter.php
 Class for exporting course competency data.
 
file  course_competency_settings.php
 Class for course_competency_settings persistence.
 
file  course_competency_settings_exporter.php
 Class for exporting course_competency_settings data.
 
file  course_module_competency.php
 Class for loading/storing competencies from the DB.
 
file  course_module_competency_exporter.php
 Class for exporting course module competency data.
 
file  evidence.php
 Evidence persistent file.
 
file  evidence_exporter.php
 Class for exporting evidence data.
 
file  invalid_persistent_exception.php
 Invalid persistent exception.
 
file  lib.php
 Competency data generator.
 
file  performance_helper.php
 Performance helper.
 
file  persistent.php
 Abstract class for core_competency objects saved to the DB.
 
file  plan.php
 Class for plans persistence.
 
file  plan_competency.php
 Class for plan_competency persistence.
 
file  plan_competency_exporter.php
 Class for exporting plan competency data.
 
file  plan_exporter.php
 Class for exporting plan data.
 
file  related_competency.php
 Class for loading/storing related competencies from the DB.
 
file  related_competency_exporter.php
 Class for exporting plan data.
 
file  sync_plans_from_template_cohorts_task.php
 Synchronise plans from template cohorts.
 
file  template.php
 Class for loading/storing learning plan templates from the DB.
 
file  template_cohort.php
 Template cohort persistent.
 
file  template_competency.php
 Class for loading/storing competencies from the DB.
 
file  template_competency_exporter.php
 Class for exporting template competency data.
 
file  template_exporter.php
 Class for exporting template data.
 
file  url.php
 URL manager.
 
file  user_competency.php
 Class for user_competency persistence.
 
file  user_competency_course.php
 Class for user_competency_course persistence.
 
file  user_competency_course_exporter.php
 Class for exporting user competency course data.
 
file  user_competency_exporter.php
 Class for exporting user competency data.
 
file  user_competency_plan.php
 Class for user_competency_plan persistence.
 
file  user_competency_plan_exporter.php
 Class for exporting plan competency data.
 
file  user_evidence.php
 User evidence persistent.
 
file  user_evidence_competency.php
 User evidence competency persistent.
 
file  user_evidence_competency_exporter.php
 User evidence competency exporter.
 
file  user_evidence_exporter.php
 Class for exporting user_evidence data.
 

Namespaces

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

Classes

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_evidence_created
 
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_review_request_cancelled
 User competency review requested event class. More...
 
class  core\event\competency_user_competency_review_requested
 User competency review requested event class. More...
 
class  core\event\competency_user_competency_review_started
 User competency review started event class. More...
 
class  core\event\competency_user_competency_review_stopped
 User competency review stopped event class. More...
 
class  core\event\competency_user_competency_viewed
 
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\api
 Class for doing things with competency frameworks. 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
 Data provider class. More...
 
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
 

Functions

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

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