Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
This is the external API for this tool. More...
Static Public Member Functions | |
static | data_for_competencies_manage_page ($competencyframeworkid, $search) |
Loads the data required to render the competencies_manage_page template. | |
static | data_for_competencies_manage_page_parameters () |
Returns description of data_for_competencies_manage_page() parameters. | |
static | data_for_competencies_manage_page_returns () |
Returns description of data_for_competencies_manage_page() result value. | |
static | data_for_competency_frameworks_manage_page ($pagecontext) |
Loads the data required to render the competency_frameworks_manage_page template. | |
static | data_for_competency_frameworks_manage_page_parameters () |
Returns description of data_for_competency_frameworks_manage_page() parameters. | |
static | data_for_competency_frameworks_manage_page_returns () |
Returns description of data_for_competency_frameworks_manage_page() result value. | |
static | data_for_competency_summary ($competencyid, $includerelated=false, $includecourses=false) |
Loads the data required to render the competency_page template. | |
static | data_for_competency_summary_parameters () |
Returns description of data_for_competency_summary() parameters. | |
static | data_for_competency_summary_returns () |
Returns description of data_for_competency_summary_() result value. | |
static | data_for_course_competencies_page ($courseid, $moduleid) |
Loads the data required to render the course_competencies_page template. | |
static | data_for_course_competencies_page_parameters () |
Returns description of data_for_course_competenies_page() parameters. | |
static | data_for_course_competencies_page_returns () |
Returns description of data_for_course_competencies_page() result value. | |
static | data_for_plan_page ($planid) |
Loads the data required to render the plan_page template. | |
static | data_for_plan_page_parameters () |
Returns description of data_for_plan_competenies_page() parameters. | |
static | data_for_plan_page_returns () |
Returns description of data_for_plan_page() result value. | |
static | data_for_plans_page ($userid) |
Loads the data required to render the plans_page template. | |
static | data_for_plans_page_parameters () |
Returns description of data_for_plans_page() parameters. | |
static | data_for_plans_page_returns () |
Returns description of data_for_plans_page() result value. | |
static | data_for_related_competencies_section ($competencyid) |
Data to render in the related competencies section. | |
static | data_for_related_competencies_section_parameters () |
Returns the description of the data_for_related_competencies_section_parameters() parameters. | |
static | data_for_related_competencies_section_returns () |
Returns description of data_for_related_competencies_section_returns() result value. | |
static | data_for_template_competencies_page ($templateid, $pagecontext) |
Loads the data required to render the template_competencies_page template. | |
static | data_for_template_competencies_page_parameters () |
Returns description of data_for_template_competenies_page() parameters. | |
static | data_for_template_competencies_page_returns () |
Returns description of data_for_template_competencies_page() result value. | |
static | data_for_templates_manage_page ($pagecontext) |
Loads the data required to render the templates_manage_page template. | |
static | data_for_templates_manage_page_parameters () |
Returns description of data_for_templates_manage_page() parameters. | |
static | data_for_templates_manage_page_returns () |
Returns description of data_for_templates_manage_page() result value. | |
static | data_for_user_competency_summary ($userid, $competencyid) |
Data for user competency summary. | |
static | data_for_user_competency_summary_in_course ($userid, $competencyid, $courseid) |
Read a user competency summary. | |
static | data_for_user_competency_summary_in_course_parameters () |
Returns description of data_for_user_competency_summary_in_course() parameters. | |
static | data_for_user_competency_summary_in_course_returns () |
Returns description of data_for_user_competency_summary_in_course() result value. | |
static | data_for_user_competency_summary_in_plan ($competencyid, $planid) |
Read a user competency summary. | |
static | data_for_user_competency_summary_in_plan_parameters () |
Returns description of data_for_user_competency_summary_in_plan() parameters. | |
static | data_for_user_competency_summary_in_plan_returns () |
Returns description of data_for_user_competency_summary_in_plan() result value. | |
static | data_for_user_competency_summary_parameters () |
Returns description of external function. | |
static | data_for_user_competency_summary_returns () |
Returns description of external function. | |
static | data_for_user_evidence_list_page ($userid) |
Loads the data required to render the user_evidence_list_page template. | |
static | data_for_user_evidence_list_page_parameters () |
Returns description of external function parameters. | |
static | data_for_user_evidence_list_page_returns () |
Returns description of external function result value. | |
static | data_for_user_evidence_page ($id) |
Loads the data required to render the user_evidence_page template. | |
static | data_for_user_evidence_page_parameters () |
Returns description of external function parameters. | |
static | data_for_user_evidence_page_returns () |
Returns description of external function result value. | |
static | list_courses_using_competency ($competencyid) |
Count the courses (visible to this user) that use this competency. | |
static | list_courses_using_competency_parameters () |
Returns description of list_courses_using_competency() parameters. | |
static | list_courses_using_competency_returns () |
Returns description of list_courses_using_competency() result value. | |
static | search_users ($query, $capability='', $limitfrom=0, $limitnum=100) |
Search users. | |
static | search_users_parameters () |
Returns the description of external function parameters. | |
static | search_users_returns () |
Returns description of external function result value. | |
Static Protected Member Functions | |
static | get_context_parameters () |
Returns a prepared structure to use a context parameters. | |
This is the external API for this tool.
|
static |
Loads the data required to render the competencies_manage_page template.
int | $competencyframeworkid | Framework id. |
string | $search | Text to search. |
boolean |
|
static |
Returns description of data_for_competencies_manage_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_competencies_manage_page() result value.
external_description |
|
static |
Loads the data required to render the competency_frameworks_manage_page template.
context | $pagecontext | The page context |
stdClass |
|
static |
Returns description of data_for_competency_frameworks_manage_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_competency_frameworks_manage_page() result value.
external_description |
|
static |
Loads the data required to render the competency_page template.
int | $competencyid | Competency id. |
boolean | $includerelated | Include or not related competencies. |
boolean | $includecourses | Include or not competency courses. |
stdClass |
|
static |
Returns description of data_for_competency_summary() parameters.
external_function_parameters |
|
static |
Returns description of data_for_competency_summary_() result value.
external_description |
|
static |
Loads the data required to render the course_competencies_page template.
int | $courseid | The course id to check. |
int | $moduleid | The module id to check (0 for no filter). |
boolean |
|
static |
Returns description of data_for_course_competenies_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_course_competencies_page() result value.
external_description |
|
static |
Loads the data required to render the plan_page template.
int | $planid | Learning Plan id. |
boolean |
|
static |
Returns description of data_for_plan_competenies_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_plan_page() result value.
external_description |
|
static |
Loads the data required to render the plans_page template.
int | $userid | User id. |
boolean |
|
static |
Returns description of data_for_plans_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_plans_page() result value.
external_description |
|
static |
Data to render in the related competencies section.
int | $competencyid |
array | Related competencies and whether to show delete action button or not. |
|
static |
Returns the description of the data_for_related_competencies_section_parameters() parameters.
external_function_parameters. |
|
static |
Returns description of data_for_related_competencies_section_returns() result value.
core_external\external_description |
|
static |
Loads the data required to render the template_competencies_page template.
int | $templateid | Template id. |
array | $pagecontext | The page context info. |
boolean |
|
static |
Returns description of data_for_template_competenies_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_template_competencies_page() result value.
external_description |
|
static |
Loads the data required to render the templates_manage_page template.
array | $pagecontext | The page context info. |
boolean |
|
static |
Returns description of data_for_templates_manage_page() parameters.
external_function_parameters |
|
static |
Returns description of data_for_templates_manage_page() result value.
external_description |
|
static |
Data for user competency summary.
int | $userid | The user ID |
int | $competencyid | The competency ID |
stdClass |
|
static |
Read a user competency summary.
int | $userid | The user id |
int | $competencyid | The competency id |
int | $courseid | The course id |
stdClass |
|
static |
Returns description of data_for_user_competency_summary_in_course() parameters.
external_function_parameters |
|
static |
Returns description of data_for_user_competency_summary_in_course() result value.
external_description |
|
static |
Read a user competency summary.
int | $competencyid | The competency id |
int | $planid | The plan id |
stdClass |
|
static |
Returns description of data_for_user_competency_summary_in_plan() parameters.
external_function_parameters |
|
static |
Returns description of data_for_user_competency_summary_in_plan() result value.
external_description |
|
static |
Returns description of external function.
external_function_parameters |
|
static |
Returns description of external function.
external_description |
|
static |
Loads the data required to render the user_evidence_list_page template.
int | $userid | User id. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
static |
Loads the data required to render the user_evidence_page template.
int | $id | User id. |
boolean |
|
static |
Returns description of external function parameters.
external_function_parameters |
|
static |
Returns description of external function result value.
external_description |
|
staticprotected |
Returns a prepared structure to use a context parameters.
external_single_structure |
|
static |
Count the courses (visible to this user) that use this competency.
int | $competencyid | Competency id. |
array |
|
static |
Returns description of list_courses_using_competency() parameters.
external_function_parameters |
|
static |
Returns description of list_courses_using_competency() result value.
external_description |
|
static |
Search users.
string | $query | |
string | $capability | |
int | $limitfrom | |
int | $limitnum |
array |
|
static |
Returns the description of external function parameters.
external_function_parameters. |
|
static |
Returns description of external function result value.
core_external\external_description |