Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
External API class. More...
Static Public Member Functions | |
static | add_competency_to_course ($courseid, $competencyid) |
Count the competencies (visible to this user) in this course. | |
static | add_competency_to_course_parameters () |
Returns description of add_competency_to_course() parameters. | |
static | add_competency_to_course_returns () |
Returns description of add_competency_to_course() result value. | |
static | add_competency_to_plan ($planid, $competencyid) |
add competency to a learning plan. | |
static | add_competency_to_plan_parameters () |
Returns description of add_competency_to_plan() parameters. | |
static | add_competency_to_plan_returns () |
Returns description of add_competency_to_plan() result value. | |
static | add_competency_to_template ($templateid, $competencyid) |
Count the competencies (visible to this user) in this template. | |
static | add_competency_to_template_parameters () |
Returns description of add_competency_to_template() parameters. | |
static | add_competency_to_template_returns () |
Returns description of add_competency_to_template() result value. | |
static | add_related_competency ($competencyid, $relatedcompetencyid) |
Adds a related competency. | |
static | add_related_competency_parameters () |
Returns the description of the add_related_competency_parameters() parameters. | |
static | add_related_competency_returns () |
Returns description of add_related_competency_returns() result value. | |
static | approve_plan ($id) |
External function approve_plan. | |
static | approve_plan_parameters () |
Returns description of external function parameters. | |
static | approve_plan_returns () |
Returns description of external function result value. | |
static | competency_framework_viewed ($id) |
Log event competency framework viewed. | |
static | competency_framework_viewed_parameters () |
Returns description of competency_framework_viewed() parameters. | |
static | competency_framework_viewed_returns () |
Returns description of competency_framework_viewed() result value. | |
static | competency_viewed ($id) |
Log event competency viewed. | |
static | competency_viewed_parameters () |
Returns description of competency_viewed() parameters. | |
static | competency_viewed_returns () |
Returns description of competency_viewed() result value. | |
static | complete_plan ($planid) |
Complete Learning plan. | |
static | complete_plan_parameters () |
Returns description of complete_plan() parameters. | |
static | complete_plan_returns () |
Returns description of complete_plan() result value. | |
static | count_competencies ($filters) |
Count the existing competency frameworks. | |
static | count_competencies_in_course ($courseid) |
Count the competencies (visible to this user) in this course. | |
static | count_competencies_in_course_parameters () |
Returns description of count_competencies_in_course() parameters. | |
static | count_competencies_in_course_returns () |
Returns description of count_competencies_in_course() result value. | |
static | count_competencies_in_template ($templateid) |
Count the competencies (visible to this user) in this learning plan template. | |
static | count_competencies_in_template_parameters () |
Returns description of count_competencies_in_template() parameters. | |
static | count_competencies_in_template_returns () |
Returns description of count_competencies_in_template() result value. | |
static | count_competencies_parameters () |
Returns description of count_competencies() parameters. | |
static | count_competencies_returns () |
Returns description of count_competencies() result value. | |
static | count_competency_frameworks ($context, $includes) |
Count the existing competency frameworks. | |
static | count_competency_frameworks_parameters () |
Returns description of count_competency_frameworks() parameters. | |
static | count_competency_frameworks_returns () |
Returns description of count_competency_frameworks() result value. | |
static | count_course_module_competencies ($cmid) |
List the course modules using this competency (visible to this user) in this course. | |
static | count_course_module_competencies_parameters () |
Returns description of count_course_module_competencies() parameters. | |
static | count_course_module_competencies_returns () |
Returns description of count_course_module_competencies() result value. | |
static | count_courses_using_competency ($competencyid) |
Count the courses (visible to this user) that use this competency. | |
static | count_courses_using_competency_parameters () |
Returns description of count_courses_using_competency() parameters. | |
static | count_courses_using_competency_returns () |
Returns description of count_courses_using_competency() result value. | |
static | count_templates ($context, $includes) |
Count the existing learning plan templates. | |
static | count_templates_parameters () |
Returns description of count_templates() parameters. | |
static | count_templates_returns () |
Returns description of count_templates() result value. | |
static | count_templates_using_competency ($competencyid) |
Count the learning plan templates (visible to this user) that use this competency. | |
static | count_templates_using_competency_parameters () |
Returns description of count_templates_using_competency() parameters. | |
static | count_templates_using_competency_returns () |
Returns description of count_templates_using_competency() result value. | |
static | create_competency ($competency) |
Create a new competency. | |
static | create_competency_framework ($competencyframework) |
Create a new competency framework. | |
static | create_competency_framework_parameters () |
Returns description of create_competency_framework() parameters. | |
static | create_competency_framework_returns () |
Returns description of create_competency_framework() result value. | |
static | create_competency_parameters () |
Returns description of create_competency() parameters. | |
static | create_competency_returns () |
Returns description of create_competency() result value. | |
static | create_plan ($plan) |
Create a new learning plan. | |
static | create_plan_parameters () |
Returns description of create_plan() parameters. | |
static | create_plan_returns () |
Returns description of create_plan() result value. | |
static | create_template ($template) |
Create a new learning plan template. | |
static | create_template_parameters () |
Returns description of create_template() parameters. | |
static | create_template_returns () |
Returns description of create_template() result value. | |
static | create_user_evidence_competency ($userevidenceid, $competencyid) |
Delete a user evidence competency relationship. | |
static | create_user_evidence_competency_parameters () |
Returns description of external function parameters. | |
static | create_user_evidence_competency_returns () |
Returns description of external function result value. | |
static | delete_competency ($id) |
Delete a competency. | |
static | delete_competency_framework ($id) |
Delete a competency framework. | |
static | delete_competency_framework_parameters () |
Returns description of delete_competency_framework() parameters. | |
static | delete_competency_framework_returns () |
Returns description of delete_competency_framework() result value. | |
static | delete_competency_parameters () |
Returns description of delete_competency() parameters. | |
static | delete_competency_returns () |
Returns description of delete_competency() result value. | |
static | delete_evidence ($id) |
External function delete_evidence. | |
static | delete_evidence_parameters () |
Returns description of external function parameters. | |
static | delete_evidence_returns () |
Returns description of external function result value. | |
static | delete_plan ($id) |
Delete a plan. | |
static | delete_plan_parameters () |
Returns description of delete_plan() parameters. | |
static | delete_plan_returns () |
Returns description of delete_plan() result value. | |
static | delete_template ($id, $deleteplans=true) |
Delete a learning plan template. | |
static | delete_template_parameters () |
Returns description of delete_template() parameters. | |
static | delete_template_returns () |
Returns description of delete_template() result value. | |
static | delete_user_evidence ($id) |
Delete a user evidence. | |
static | delete_user_evidence_competency ($userevidenceid, $competencyid) |
Delete a user evidence competency relationship. | |
static | delete_user_evidence_competency_parameters () |
Returns description of external function parameters. | |
static | delete_user_evidence_competency_returns () |
Returns description of external function result value. | |
static | delete_user_evidence_parameters () |
Returns description of external function parameters. | |
static | delete_user_evidence_returns () |
Returns description of external function result value. | |
static | duplicate_competency_framework ($id) |
Duplicate a competency framework. | |
static | duplicate_competency_framework_parameters () |
Returns description of duplicate_competency_framework() parameters. | |
static | duplicate_competency_framework_returns () |
Returns description of duplicate_competency_framework() result value. | |
static | duplicate_template ($id) |
Duplicate a learning plan template. | |
static | duplicate_template_parameters () |
Returns description of duplicate_template() parameters. | |
static | duplicate_template_returns () |
Returns description of duplicate_template() result value. | |
static | get_scale_values ($scaleid) |
Get the values associated with a scale. | |
static | get_scale_values_parameters () |
Returns the description of the get_scale_values() parameters. | |
static | get_scale_values_returns () |
Returns description of get_scale_values() result value. | |
static | grade_competency ($userid, $competencyid, $grade, $note=null) |
Grade a competency. | |
static | grade_competency_in_course ($courseid, $userid, $competencyid, $grade, $note=null) |
Grade a competency in a course. | |
static | grade_competency_in_course_parameters () |
Returns description of grade_competency_in_course() parameters. | |
static | grade_competency_in_course_returns () |
Returns description of grade_competency_in_course() result value. | |
static | grade_competency_in_plan ($planid, $competencyid, $grade, $note=null) |
Grade a competency in a plan. | |
static | grade_competency_in_plan_parameters () |
Returns description of grade_competency_in_plan() parameters. | |
static | grade_competency_in_plan_returns () |
Returns description of grade_competency_in_plan() result value. | |
static | grade_competency_parameters () |
Returns description of external function parameters. | |
static | grade_competency_returns () |
Returns description of external function result value. | |
static | list_competencies ($filters, $sort, $order, $skip, $limit) |
List the existing competency. | |
static | list_competencies_in_template ($templateid) |
List the competencies (visible to this user) in this learning plan template. | |
static | list_competencies_in_template_parameters () |
Returns description of list_competencies_in_template() parameters. | |
static | list_competencies_in_template_returns () |
Returns description of list_competencies_in_template() result value. | |
static | list_competencies_parameters () |
Returns description of list_competencies() parameters. | |
static | list_competencies_returns () |
Returns description of list_competencies() result value. | |
static | list_competency_frameworks ($sort, $order, $skip, $limit, $context, $includes, $onlyvisible, $query='') |
List the existing competency frameworks. | |
static | list_competency_frameworks_parameters () |
Returns description of list_competency_frameworks() parameters. | |
static | list_competency_frameworks_returns () |
Returns description of list_competency_frameworks() result value. | |
static | list_course_competencies ($courseid) |
List the competencies (visible to this user) in this course. | |
static | list_course_competencies_parameters () |
Returns description of list_course_competencies() parameters. | |
static | list_course_competencies_returns () |
Returns description of list_course_competencies() result value. | |
static | list_course_module_competencies ($cmid) |
List the course modules using this competency (visible to this user) in this course. | |
static | list_course_module_competencies_parameters () |
Returns description of list_course_module_competencies() parameters. | |
static | list_course_module_competencies_returns () |
Returns description of list_course_module_competencies() result value. | |
static | list_plan_competencies ($id) |
List plan competencies. | |
static | list_plan_competencies_parameters () |
External function parameters structure. | |
static | list_plan_competencies_returns () |
External function return structure. | |
static | list_templates ($sort, $order, $skip, $limit, $context, $includes, $onlyvisible) |
List the existing learning plan templates. | |
static | list_templates_parameters () |
Returns description of list_templates() parameters. | |
static | list_templates_returns () |
Returns description of list_templates() result value. | |
static | list_templates_using_competency ($competencyid) |
List the learning plan templates (visible to this user) that use this competency. | |
static | list_templates_using_competency_parameters () |
Returns description of list_templates_using_competency() parameters. | |
static | list_templates_using_competency_returns () |
Returns description of list_templates_using_competency() result value. | |
static | list_user_plans ($userid) |
External function list_user_plans. | |
static | list_user_plans_parameters () |
Returns description of external function parameters. | |
static | list_user_plans_returns () |
Returns description of external function result value. | |
static | move_down_competency ($competencyid) |
Change the sort order of a competency. | |
static | move_down_competency_parameters () |
Returns description of move_down_competency() parameters. | |
static | move_down_competency_returns () |
Returns description of move_down_competency() result value. | |
static | move_up_competency ($competencyid) |
Change the sort order of a competency. | |
static | move_up_competency_parameters () |
Returns description of move_up_competency() parameters. | |
static | move_up_competency_returns () |
Returns description of move_up_competency() result value. | |
static | plan_cancel_review_request ($id) |
External function plan_cancel_review_request. | |
static | plan_cancel_review_request_parameters () |
Returns description of external function parameters. | |
static | plan_cancel_review_request_returns () |
Returns description of external function result value. | |
static | plan_request_review ($id) |
External function plan_request_review. | |
static | plan_request_review_parameters () |
Returns description of external function parameters. | |
static | plan_request_review_returns () |
Returns description of external function result value. | |
static | plan_start_review ($id) |
External function plan_start_review. | |
static | plan_start_review_parameters () |
Returns description of external function parameters. | |
static | plan_start_review_returns () |
Returns description of external function result value. | |
static | plan_stop_review ($id) |
External function plan_stop_review. | |
static | plan_stop_review_parameters () |
Returns description of external function parameters. | |
static | plan_stop_review_returns () |
Returns description of external function result value. | |
static | read_competency ($id) |
Read a competency by id. | |
static | read_competency_framework ($id) |
Read a competency framework by id. | |
static | read_competency_framework_parameters () |
Returns description of read_competency_framework() parameters. | |
static | read_competency_framework_returns () |
Returns description of read_competency_framework() result value. | |
static | read_competency_parameters () |
Returns description of read_competency() parameters. | |
static | read_competency_returns () |
Returns description of read_competency() result value. | |
static | read_plan ($id) |
Read a plan by id. | |
static | read_plan_parameters () |
Returns description of read_plan() parameters. | |
static | read_plan_returns () |
Returns description of read_plan() result value. | |
static | read_template ($id) |
Read a learning plan template by id. | |
static | read_template_parameters () |
Returns description of read_template() parameters. | |
static | read_template_returns () |
Returns description of read_template() result value. | |
static | read_user_evidence ($id) |
Delete a user evidence. | |
static | read_user_evidence_parameters () |
Returns description of external function parameters. | |
static | read_user_evidence_returns () |
Returns description of external function result value. | |
static | remove_competency_from_course ($courseid, $competencyid) |
Count the competencies (visible to this user) in this course. | |
static | remove_competency_from_course_parameters () |
Returns description of remove_competency_from_course() parameters. | |
static | remove_competency_from_course_returns () |
Returns description of remove_competency_from_course() result value. | |
static | remove_competency_from_plan ($planid, $competencyid) |
Remove a competency from plan. | |
static | remove_competency_from_plan_parameters () |
Returns description of remove_competency_from_plan() parameters. | |
static | remove_competency_from_plan_returns () |
Returns description of remove_competency_from_plan() result value. | |
static | remove_competency_from_template ($templateid, $competencyid) |
Count the competencies (visible to this user) in this learning plan template. | |
static | remove_competency_from_template_parameters () |
Returns description of remove_competency_from_template() parameters. | |
static | remove_competency_from_template_returns () |
Returns description of remove_competency_from_template() result value. | |
static | remove_related_competency ($competencyid, $relatedcompetencyid) |
Removes a related competency. | |
static | remove_related_competency_parameters () |
Returns the description of the remove_related_competency_parameters() parameters. | |
static | remove_related_competency_returns () |
Returns description of remove_related_competency_returns() result value. | |
static | reopen_plan ($planid) |
Reopen Learning plan. | |
static | reopen_plan_parameters () |
Returns description of reopen_plan() parameters. | |
static | reopen_plan_returns () |
Returns description of reopen_plan() result value. | |
static | reorder_course_competency ($courseid, $competencyidfrom, $competencyidto) |
Change the order of course competencies. | |
static | reorder_course_competency_parameters () |
Returns description of reorder_course_competency() parameters. | |
static | reorder_course_competency_returns () |
Returns description of reorder_course_competency() result value. | |
static | reorder_plan_competency ($planid, $competencyidfrom, $competencyidto) |
Change the order of plan competencies. | |
static | reorder_plan_competency_parameters () |
Returns description of reorder_plan_competency() parameters. | |
static | reorder_plan_competency_returns () |
Returns description of reorder_plan_competency() result value. | |
static | reorder_template_competency ($templateid, $competencyidfrom, $competencyidto) |
Change the order of template competencies. | |
static | reorder_template_competency_parameters () |
Returns description of reorder_template_competency() parameters. | |
static | reorder_template_competency_returns () |
Returns description of reorder_template_competency() result value. | |
static | request_review_of_user_evidence_linked_competencies ($id) |
Send user evidence competencies to review. | |
static | request_review_of_user_evidence_linked_competencies_parameters () |
Returns description of external function parameters. | |
static | request_review_of_user_evidence_linked_competencies_returns () |
Returns description of external function result value. | |
static | search_competencies ($searchtext, $competencyframeworkid) |
List the existing competency frameworks. | |
static | search_competencies_parameters () |
Returns description of search_competencies() parameters. | |
static | search_competencies_returns () |
Returns description of search_competencies() result value. | |
static | set_course_competency_ruleoutcome ($coursecompetencyid, $ruleoutcome) |
Change the ruleoutcome of a course competency. | |
static | set_course_competency_ruleoutcome_parameters () |
Returns description of update_ruleoutcome_course_competency() parameters. | |
static | set_course_competency_ruleoutcome_returns () |
Returns description of update_ruleoutcome_course_competency() result value. | |
static | set_parent_competency ($competencyid, $parentid) |
Move the competency to a new parent. | |
static | set_parent_competency_parameters () |
Returns description of set_parent_competency() parameters. | |
static | set_parent_competency_returns () |
Returns description of set_parent_competency() result value. | |
static | template_has_related_data ($templateid) |
Check if template has related data. | |
static | template_has_related_data_parameters () |
Returns description of template_has_related_data() parameters. | |
static | template_has_related_data_returns () |
Returns description of template_has_related_data() result value. | |
static | template_viewed ($id) |
Log the template viewed event. | |
static | template_viewed_parameters () |
Returns description of template_viewed() parameters. | |
static | template_viewed_returns () |
Returns description of template_viewed() result value. | |
static | unapprove_plan ($id) |
External function unapprove_plan. | |
static | unapprove_plan_parameters () |
Returns description of external function parameters. | |
static | unapprove_plan_returns () |
Returns description of external function result value. | |
static | unlink_plan_from_template ($planid) |
Unlink the plan from the template. | |
static | unlink_plan_from_template_parameters () |
Returns description of unlink_plan_from_template_() parameters. | |
static | unlink_plan_from_template_returns () |
Returns description of unlink_plan_from_template_() result value. | |
static | update_competency ($competency) |
Update an existing competency. | |
static | update_competency_framework ($competencyframework) |
Update an existing competency framework. | |
static | update_competency_framework_parameters () |
Returns description of update_competency_framework() parameters. | |
static | update_competency_framework_returns () |
Returns description of update_competency_framework() result value. | |
static | update_competency_parameters () |
Returns description of update_competency() parameters. | |
static | update_competency_returns () |
Returns description of update_competency_framework() result value. | |
static | update_course_competency_settings ($courseid, $settings) |
Update the course competency settings. | |
static | update_course_competency_settings_parameters () |
Returns description of update_course_competency_settings() parameters. | |
static | update_course_competency_settings_returns () |
Returns description of update_course_competency_settings() result value. | |
static | update_plan ($plan) |
Updates a new learning plan. | |
static | update_plan_parameters () |
Returns description of update_plan() parameters. | |
static | update_plan_returns () |
Returns description of update_plan() result value. | |
static | update_template ($template) |
Update an existing learning plan template. | |
static | update_template_parameters () |
Returns description of update_template() parameters. | |
static | update_template_returns () |
Returns description of update_template() result value. | |
static | user_competency_cancel_review_request ($userid, $competencyid) |
External function user_competency_cancel_review_request. | |
static | user_competency_cancel_review_request_parameters () |
Returns description of external function parameters. | |
static | user_competency_cancel_review_request_returns () |
Returns description of external function result value. | |
static | user_competency_plan_viewed ($competencyid, $userid, $planid) |
Log user competency plan viewed event. | |
static | user_competency_plan_viewed_parameters () |
Returns description of user_competency_plan_viewed() parameters. | |
static | user_competency_plan_viewed_returns () |
Returns description of user_competency_plan_viewed() result value. | |
static | user_competency_request_review ($userid, $competencyid) |
External function user_competency_request_review. | |
static | user_competency_request_review_parameters () |
Returns description of external function parameters. | |
static | user_competency_request_review_returns () |
Returns description of external function result value. | |
static | user_competency_start_review ($userid, $competencyid) |
External function user_competency_start_review. | |
static | user_competency_start_review_parameters () |
Returns description of external function parameters. | |
static | user_competency_start_review_returns () |
Returns description of external function result value. | |
static | user_competency_stop_review ($userid, $competencyid) |
External function user_competency_stop_review. | |
static | user_competency_stop_review_parameters () |
Returns description of external function parameters. | |
static | user_competency_stop_review_returns () |
Returns description of external function result value. | |
static | user_competency_viewed ($usercompetencyid) |
Log user competency viewed event. | |
static | user_competency_viewed_in_course ($competencyid, $userid, $courseid) |
Log user competency viewed in course event. | |
static | user_competency_viewed_in_course_parameters () |
Returns description of user_competency_viewed_in_course() parameters. | |
static | user_competency_viewed_in_course_returns () |
Returns description of user_competency_viewed_in_course() result value. | |
static | user_competency_viewed_in_plan ($competencyid, $userid, $planid) |
Log user competency viewed in plan event. | |
static | user_competency_viewed_in_plan_parameters () |
Returns description of user_competency_viewed_in_plan() parameters. | |
static | user_competency_viewed_in_plan_returns () |
Returns description of user_competency_viewed_in_plan() result value. | |
static | user_competency_viewed_parameters () |
Returns description of user_competency_viewed() parameters. | |
static | user_competency_viewed_returns () |
Returns description of user_competency_viewed() result value. | |
Static Protected Member Functions | |
static | get_context_parameters () |
Returns a prepared structure to use a context parameters. | |
External API class.
|
static |
Count the competencies (visible to this user) in this course.
int | $courseid | The course id to check. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of add_competency_to_course() parameters.
external_function_parameters |
|
static |
Returns description of add_competency_to_course() result value.
external_description |
|
static |
add competency to a learning plan.
int | $planid | Plan id. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of add_competency_to_plan() parameters.
external_function_parameters |
|
static |
Returns description of add_competency_to_plan() result value.
external_description |
|
static |
Count the competencies (visible to this user) in this template.
int | $templateid | Template id. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of add_competency_to_template() parameters.
external_function_parameters |
|
static |
Returns description of add_competency_to_template() result value.
external_description |
|
static |
Adds a related competency.
int | $competencyid | |
int | $relatedcompetencyid |
bool |
|
static |
Returns the description of the add_related_competency_parameters() parameters.
external_function_parameters. |
|
static |
Returns description of add_related_competency_returns() result value.
core_external\external_description |
|
static |
External function approve_plan.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Log event competency framework viewed.
int | $id | The competency framework ID. |
boolean |
|
static |
Returns description of competency_framework_viewed() parameters.
external_function_parameters |
|
static |
Returns description of competency_framework_viewed() result value.
external_description |
|
static |
Log event competency viewed.
int | $id | The competency ID. |
boolean |
|
static |
Returns description of competency_viewed() parameters.
external_function_parameters |
|
static |
Returns description of competency_viewed() result value.
external_description |
|
static |
Complete Learning plan.
int | $planid | plan id (id is required) |
boolean |
|
static |
Returns description of complete_plan() parameters.
external_function_parameters |
|
static |
Returns description of complete_plan() result value.
external_description |
|
static |
Count the existing competency frameworks.
string | $filters | Filters to use. |
boolean |
|
static |
Count the competencies (visible to this user) in this course.
int | $courseid | The course id to check. |
int |
|
static |
Returns description of count_competencies_in_course() parameters.
external_function_parameters |
|
static |
Returns description of count_competencies_in_course() result value.
external_description |
|
static |
Count the competencies (visible to this user) in this learning plan template.
int | $templateid | The template id to check |
int |
|
static |
Returns description of count_competencies_in_template() parameters.
external_function_parameters |
|
static |
Returns description of count_competencies_in_template() result value.
external_description |
|
static |
Returns description of count_competencies() parameters.
external_function_parameters |
|
static |
Returns description of count_competencies() result value.
external_description |
|
static |
Count the existing competency frameworks.
array | $context | |
string | $includes |
int |
|
static |
Returns description of count_competency_frameworks() parameters.
external_function_parameters |
|
static |
Returns description of count_competency_frameworks() result value.
external_description |
|
static |
List the course modules using this competency (visible to this user) in this course.
int | $cmid | The course module id to check. |
array |
|
static |
Returns description of count_course_module_competencies() parameters.
external_function_parameters |
|
static |
Returns description of count_course_module_competencies() result value.
external_description |
|
static |
Count the courses (visible to this user) that use this competency.
int | $competencyid | Competency id. |
int |
|
static |
Returns description of count_courses_using_competency() parameters.
external_function_parameters |
|
static |
Returns description of count_courses_using_competency() result value.
external_description |
|
static |
Count the existing learning plan templates.
array | $context | |
string | $includes |
int |
|
static |
Returns description of count_templates() parameters.
external_function_parameters |
|
static |
Returns description of count_templates() result value.
external_description |
|
static |
Count the learning plan templates (visible to this user) that use this competency.
int | $competencyid | Competency id. |
int |
|
static |
Returns description of count_templates_using_competency() parameters.
external_function_parameters |
|
static |
Returns description of count_templates_using_competency() result value.
external_description |
|
static |
Create a new competency.
array | $competency | All the fields for a competency record (including id) |
array | the competency |
|
static |
Create a new competency framework.
array | $competencyframework | A single param with all the fields for a competency framework. |
stdClass | The new record |
|
static |
Returns description of create_competency_framework() parameters.
external_function_parameters |
|
static |
Returns description of create_competency_framework() result value.
external_description |
|
static |
Returns description of create_competency() parameters.
external_function_parameters |
|
static |
Returns description of create_competency() result value.
external_description |
|
static |
Create a new learning plan.
array | $plan | List of fields for the plan. |
array | New plan record. |
|
static |
Returns description of create_plan() parameters.
external_function_parameters |
|
static |
Returns description of create_plan() result value.
external_description |
|
static |
Create a new learning plan template.
array | $template | The list of fields for the template. |
stdClass | Record of new template. |
|
static |
Returns description of create_template() parameters.
external_function_parameters |
|
static |
Returns description of create_template() result value.
external_description |
|
static |
Delete a user evidence competency relationship.
int | $userevidenceid | The user evidence id. |
int | $competencyid | The competency id. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
static |
Delete a competency.
int | $id | The competency id |
boolean |
|
static |
Delete a competency framework.
int | $id | The competency framework id |
boolean |
|
static |
Returns description of delete_competency_framework() parameters.
external_function_parameters |
|
static |
Returns description of delete_competency_framework() result value.
external_description |
|
static |
Returns description of delete_competency() parameters.
external_function_parameters |
|
static |
Returns description of delete_competency() result value.
external_description |
|
static |
External function delete_evidence.
int | $id | The evidence ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Delete a plan.
int | $id | The plan id |
boolean |
|
static |
Returns description of delete_plan() parameters.
external_function_parameters |
|
static |
Returns description of delete_plan() result value.
external_description |
|
static |
Delete a learning plan template.
int | $id | The learning plan template id |
boolean | $deleteplans | True to delete the plans associated to template or false to unlink them |
boolean |
|
static |
Returns description of delete_template() parameters.
external_function_parameters |
|
static |
Returns description of delete_template() result value.
external_description |
|
static |
Delete a user evidence.
int | $id | The evidence id |
boolean |
|
static |
Delete a user evidence competency relationship.
int | $userevidenceid | The user evidence id. |
int | $competencyid | The competency id. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
static |
Duplicate a competency framework.
int | $id | The competency framework id |
boolean |
|
static |
Returns description of duplicate_competency_framework() parameters.
external_function_parameters |
|
static |
Returns description of duplicate_competency_framework() result value.
external_description |
|
static |
Duplicate a learning plan template.
int | $id | the id of the learning plan template to duplicate |
boolean | Record of new template. |
|
static |
Returns description of duplicate_template() parameters.
external_function_parameters |
|
static |
Returns description of duplicate_template() result value.
external_description |
|
staticprotected |
Returns a prepared structure to use a context parameters.
external_single_structure |
|
static |
Get the values associated with a scale.
int | $scaleid | Scale ID |
array | Values for a scale. |
|
static |
Returns the description of the get_scale_values() parameters.
external_function_parameters. |
|
static |
Returns description of get_scale_values() result value.
external_multiple_structure |
|
static |
Grade a competency.
int | $userid | The user ID. |
int | $competencyid | The competency id |
int | $grade | The new grade value |
string | $note | A note to attach to the evidence |
bool |
|
static |
Grade a competency in a course.
int | $courseid | The course id |
int | $userid | The user id |
int | $competencyid | The competency id |
int | $grade | The new grade value |
string | $note | A note to add to the evidence |
bool |
|
static |
Returns description of grade_competency_in_course() parameters.
external_function_parameters |
|
static |
Returns description of grade_competency_in_course() result value.
external_value |
|
static |
Grade a competency in a plan.
int | $planid | The plan id |
int | $competencyid | The competency id |
int | $grade | The new grade value |
string | $note | A note to add to the evidence |
bool |
|
static |
Returns description of grade_competency_in_plan() parameters.
external_function_parameters |
|
static |
Returns description of grade_competency_in_plan() result value.
external_value |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_value |
|
static |
List the existing competency.
string | $filters | |
int | $sort | |
string | $order | |
string | $skip | |
int | $limit |
array |
|
static |
List the competencies (visible to this user) in this learning plan template.
int | $templateid | Template id. |
array |
|
static |
Returns description of list_competencies_in_template() parameters.
external_function_parameters |
|
static |
Returns description of list_competencies_in_template() result value.
external_description |
|
static |
Returns description of list_competencies() parameters.
external_function_parameters |
|
static |
Returns description of list_competencies() result value.
external_description |
|
static |
List the existing competency frameworks.
int | $sort | |
string | $order | |
string | $skip | |
int | $limit | |
array | $context | |
bool | $includes | |
bool | $onlyvisible | |
string | $query |
array |
|
static |
Returns description of list_competency_frameworks() parameters.
external_function_parameters |
|
static |
Returns description of list_competency_frameworks() result value.
external_description |
|
static |
List the competencies (visible to this user) in this course.
int | $courseid | The course id to check. |
array |
|
static |
Returns description of list_course_competencies() parameters.
external_function_parameters |
|
static |
Returns description of list_course_competencies() result value.
external_description |
|
static |
List the course modules using this competency (visible to this user) in this course.
int | $cmid | The course module id to check. |
array |
|
static |
Returns description of list_course_module_competencies() parameters.
external_function_parameters |
|
static |
Returns description of list_course_module_competencies() result value.
external_description |
|
static |
List plan competencies.
int | $id | The plan ID. |
array |
|
static |
External function parameters structure.
external_description |
|
static |
External function return structure.
external_description |
|
static |
List the existing learning plan templates.
string | $sort | Field to sort by. |
string | $order | Sort order. |
int | $skip | Limitstart. |
int | $limit | Number of rows to return. |
array | $context | |
bool | $includes | |
bool | $onlyvisible |
array |
|
static |
Returns description of list_templates() parameters.
external_function_parameters |
|
static |
Returns description of list_templates() result value.
external_description |
|
static |
List the learning plan templates (visible to this user) that use this competency.
int | $competencyid | Competency id. |
array |
|
static |
Returns description of list_templates_using_competency() parameters.
external_function_parameters |
|
static |
Returns description of list_templates_using_competency() result value.
external_description |
|
static |
External function list_user_plans.
int | $userid | The user ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Change the sort order of a competency.
int | $competencyid | Competency id. |
boolean |
|
static |
Returns description of move_down_competency() parameters.
external_function_parameters |
|
static |
Returns description of move_down_competency() result value.
external_description |
|
static |
Change the sort order of a competency.
int | $competencyid | Competency id. |
boolean |
|
static |
Returns description of move_up_competency() parameters.
external_function_parameters |
|
static |
Returns description of move_up_competency() result value.
external_description |
|
static |
External function plan_cancel_review_request.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
External function plan_request_review.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
External function plan_start_review.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
External function plan_stop_review.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Read a competency by id.
int | $id | The id of the competency |
stdClass |
|
static |
Read a competency framework by id.
int | $id | The id of the framework. |
stdClass |
|
static |
Returns description of read_competency_framework() parameters.
external_function_parameters |
|
static |
Returns description of read_competency_framework() result value.
external_description |
|
static |
Returns description of read_competency() parameters.
external_function_parameters |
|
static |
Returns description of read_competency() result value.
external_description |
|
static |
Read a plan by id.
int | $id | The id of the plan. |
stdClass |
|
static |
Returns description of read_plan() parameters.
external_function_parameters |
|
static |
Returns description of read_plan() result value.
external_description |
|
static |
Read a learning plan template by id.
int | $id | The id of the template. |
stdClass |
|
static |
Returns description of read_template() parameters.
external_function_parameters |
|
static |
Returns description of read_template() result value.
external_description |
|
static |
Delete a user evidence.
int | $id | The evidence id |
boolean |
|
static |
Returns description of external function parameters.
external_description |
|
static |
Returns description of external function result value.
external_description |
|
static |
Count the competencies (visible to this user) in this course.
int | $courseid | The course id to check. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of remove_competency_from_course() parameters.
external_function_parameters |
|
static |
Returns description of remove_competency_from_course() result value.
external_description |
|
static |
Remove a competency from plan.
int | $planid | Plan id. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of remove_competency_from_plan() parameters.
external_function_parameters |
|
static |
Returns description of remove_competency_from_plan() result value.
external_description |
|
static |
Count the competencies (visible to this user) in this learning plan template.
int | $templateid | Template id. |
int | $competencyid | Competency id. |
int |
|
static |
Returns description of remove_competency_from_template() parameters.
external_function_parameters |
|
static |
Returns description of remove_competency_from_template() result value.
external_description |
|
static |
Removes a related competency.
int | $competencyid | |
int | $relatedcompetencyid |
bool |
|
static |
Returns the description of the remove_related_competency_parameters() parameters.
external_function_parameters. |
|
static |
Returns description of remove_related_competency_returns() result value.
core_external\external_description |
|
static |
Reopen Learning plan.
int | $planid | plan id (id is required) |
boolean |
|
static |
Returns description of reopen_plan() parameters.
external_function_parameters |
|
static |
Returns description of reopen_plan() result value.
external_description |
|
static |
Change the order of course competencies.
int | $courseid | The course id |
int | $competencyidfrom | The competency to move. |
int | $competencyidto | The competency to move to. |
bool |
|
static |
Returns description of reorder_course_competency() parameters.
external_function_parameters |
|
static |
Returns description of reorder_course_competency() result value.
external_description |
|
static |
Change the order of plan competencies.
int | $planid | The plan id |
int | $competencyidfrom | The competency to move. |
int | $competencyidto | The competency to move to. |
bool |
|
static |
Returns description of reorder_plan_competency() parameters.
external_function_parameters |
|
static |
Returns description of reorder_plan_competency() result value.
external_description |
|
static |
Change the order of template competencies.
int | $templateid | The template id |
int | $competencyidfrom | The competency to move. |
int | $competencyidto | The competency to move to. |
bool |
|
static |
Returns description of reorder_template_competency() parameters.
external_function_parameters |
|
static |
Returns description of reorder_template_competency() result value.
external_description |
|
static |
Send user evidence competencies to review.
int | $id | The user evidence id. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
static |
List the existing competency frameworks.
string | $searchtext | Text to search. |
int | $competencyframeworkid | Framework id. |
array |
|
static |
Returns description of search_competencies() parameters.
external_function_parameters |
|
static |
Returns description of search_competencies() result value.
external_description |
|
static |
Change the ruleoutcome of a course competency.
int | $coursecompetencyid | The course competency id |
int | $ruleoutcome | The ruleoutcome value |
bool |
|
static |
Returns description of update_ruleoutcome_course_competency() parameters.
external_function_parameters |
|
static |
Returns description of update_ruleoutcome_course_competency() result value.
external_value |
|
static |
Move the competency to a new parent.
int | $competencyid | Competency id. |
int | $parentid | Parent id. |
bool |
|
static |
Returns description of set_parent_competency() parameters.
external_function_parameters |
|
static |
Returns description of set_parent_competency() result value.
external_description |
|
static |
Check if template has related data.
int | $templateid | Template id. |
boolean |
|
static |
Returns description of template_has_related_data() parameters.
external_function_parameters |
|
static |
Returns description of template_has_related_data() result value.
external_description |
|
static |
Log the template viewed event.
int | $id | the template id |
array | of warnings and status result |
moodle_exception |
|
static |
Returns description of template_viewed() parameters.
external_function_parameters |
|
static |
Returns description of template_viewed() result value.
external_value |
|
static |
External function unapprove_plan.
int | $id | The plan ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Unlink the plan from the template.
int | $planid | The plan id |
bool |
|
static |
Returns description of unlink_plan_from_template_() parameters.
external_function_parameters |
|
static |
Returns description of unlink_plan_from_template_() result value.
external_value |
|
static |
Update an existing competency.
array | $competency | The array of competency fields (id is required). |
boolean |
|
static |
Update an existing competency framework.
array | $competencyframework | An array with all the fields for a competency framework. |
boolean |
|
static |
Returns description of update_competency_framework() parameters.
external_function_parameters |
|
static |
Returns description of update_competency_framework() result value.
external_description |
|
static |
Returns description of update_competency() parameters.
external_function_parameters |
|
static |
Returns description of update_competency_framework() result value.
external_description |
|
static |
Update the course competency settings.
int | $courseid | the course id |
stdClass | $settings | The list of settings (currently only pushratingstouserplans). |
moodle_exception |
|
static |
Returns description of update_course_competency_settings() parameters.
external_function_parameters |
|
static |
Returns description of update_course_competency_settings() result value.
external_value |
|
static |
Updates a new learning plan.
array | $plan | Fields for the plan (id is required) |
mixed |
|
static |
Returns description of update_plan() parameters.
external_function_parameters |
|
static |
Returns description of update_plan() result value.
external_description |
|
static |
Update an existing learning plan template.
array | $template | The list of fields for the template. |
boolean |
|
static |
Returns description of update_template() parameters.
external_function_parameters |
|
static |
Returns description of update_template() result value.
external_description |
|
static |
External function user_competency_cancel_review_request.
int | $userid | The user ID. |
int | $competencyid | The competency ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Log user competency plan viewed event.
int | $competencyid | The competency ID. |
int | $userid | The user ID. |
int | $planid | The plan ID. |
boolean |
|
static |
Returns description of user_competency_plan_viewed() parameters.
external_function_parameters |
|
static |
Returns description of user_competency_plan_viewed() result value.
external_description |
|
static |
External function user_competency_request_review.
int | $userid | The user ID. |
int | $competencyid | The competency ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
External function user_competency_start_review.
int | $userid | The user ID. |
int | $competencyid | The competency ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
External function user_competency_stop_review.
int | $userid | The user ID. |
int | $competencyid | The competency ID. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_function_parameters |
|
static |
Log user competency viewed event.
int | $usercompetencyid | The user competency ID. |
boolean |
|
static |
Log user competency viewed in course event.
int | $competencyid | The competency ID. |
int | $userid | The user ID. |
int | $courseid | The course ID. |
boolean |
|
static |
Returns description of user_competency_viewed_in_course() parameters.
external_function_parameters |
|
static |
Returns description of user_competency_viewed_in_course() result value.
external_description |
|
static |
Log user competency viewed in plan event.
int | $competencyid | The competency ID. |
int | $userid | The user ID. |
int | $planid | The plan ID. |
boolean |
|
static |
Returns description of user_competency_viewed_in_plan() parameters.
external_function_parameters |
|
static |
Returns description of user_competency_viewed_in_plan() result value.
external_description |
|
static |
Returns description of user_competency_viewed() parameters.
external_function_parameters |
|
static |
Returns description of user_competency_viewed() result value.
external_description |