Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Namespaces | |
namespace | tool_lp |
| |
namespace | tool_lp\external |
| |
namespace | tool_lp\form |
| |
namespace | tool_lp\output |
| |
namespace | tool_lp\privacy |
| |
Classes | |
class | behat_tool_lp |
Step definition for learning plan system. More... | |
class | behat_tool_lp_data_generators |
Step definition to generate database fixtures for learning plan system. More... | |
class | tool_lp\course_competency_statistics |
Course competency statistics class. More... | |
class | tool_lp\external |
This is the external API for this tool. More... | |
class | tool_lp\external\competency_path_exporter |
Class for exporting competency_path data. More... | |
class | tool_lp\external\competency_summary_exporter |
Class for exporting competency data with additional related data. More... | |
class | tool_lp\external\course_competency_statistics_exporter |
Class for exporting a course competency statistics summary. More... | |
class | tool_lp\external\path_node_exporter |
Class for exporting path_node data. More... | |
class | tool_lp\external\template_statistics_exporter |
Class for exporting a cohort summary from an stdClass. More... | |
class | tool_lp\external\user_competency_summary_exporter |
Class for exporting user competency data with additional related data. More... | |
class | tool_lp\external\user_competency_summary_in_course_exporter |
Class for exporting user competency data with additional related data in a plan. More... | |
class | tool_lp\external\user_competency_summary_in_plan_exporter |
Class for exporting user competency data with additional related data in a plan. More... | |
class | tool_lp\external\user_evidence_competency_summary_exporter |
Class for exporting user evidence competency data. More... | |
class | tool_lp\external\user_evidence_summary_exporter |
Class for exporting user evidence with all competencies. More... | |
class | tool_lp\form\competency |
Competency framework form. More... | |
class | tool_lp\form\competency_framework |
Competency framework form. More... | |
class | tool_lp\form\framework_autocomplete |
Form field type for choosing a framework. More... | |
class | tool_lp\form\plan |
Learning plan form. More... | |
class | tool_lp\form\template |
Learning plan template form. More... | |
class | tool_lp\form\template_cohorts |
Template cohorts form class. More... | |
class | tool_lp\form\template_plans |
Template plans form class. More... | |
class | tool_lp\form\user_evidence |
User evidence form class. More... | |
class | tool_lp\output\competency_plan_navigation |
User competency plan navigation class. More... | |
class | tool_lp\output\competency_summary |
Class containing data for competency summary. More... | |
class | tool_lp\output\course_competencies_page |
Class containing data for course competencies page. More... | |
class | tool_lp\output\manage_competencies_page |
Class containing data for managecompetencies page. More... | |
class | tool_lp\output\manage_competency_frameworks_page |
Class containing data for managecompetencyframeworks page. More... | |
class | tool_lp\output\manage_templates_page |
Class containing data for managecompetencyframeworks page. More... | |
class | tool_lp\output\module_navigation |
User course navigation class. More... | |
class | tool_lp\output\plan_page |
Plan page class. More... | |
class | tool_lp\output\plans_page |
Class containing data for a user learning plans list page. More... | |
class | tool_lp\output\related_competencies |
Class containing data for related competencies. More... | |
class | tool_lp\output\renderer |
Renderer class for learning plans. More... | |
class | tool_lp\output\template_cohorts_page |
Template cohorts renderable. More... | |
class | tool_lp\output\template_cohorts_table |
Template cohorts table class. More... | |
class | tool_lp\output\template_competencies_page |
Class containing data for learning plan template competencies page. More... | |
class | tool_lp\output\template_plans_page |
Template plans renderable. More... | |
class | tool_lp\output\template_plans_table |
Template plans table class. More... | |
class | tool_lp\output\user_competency_course_navigation |
User competency course navigation class. More... | |
class | tool_lp\output\user_competency_summary |
User competency summary class. More... | |
class | tool_lp\output\user_competency_summary_in_course |
User competency page class. More... | |
class | tool_lp\output\user_competency_summary_in_plan |
User competency page class. More... | |
class | tool_lp\output\user_evidence_list_page |
Class for the page listing the evidence of prior learning of a user. More... | |
class | tool_lp\output\user_evidence_page |
User evidence page class. More... | |
class | tool_lp\page_helper |
Page helper. More... | |
class | tool_lp\privacy\provider |
Privacy Subsystem for tool_lp implementing null_provider. More... | |
class | tool_lp\template_statistics |
Template statistics class. More... | |
class | tool_lp\url_resolver |
URL resolver class. More... | |
class | tool_lp_course_competencies_form_element |
Course competencies element. More... | |
class | tool_lp_course_competency_overridegrade_form_element |
Course competency override grade element. More... | |
class | tool_lp_course_competency_rule_form_element |
Course competency rule element. More... | |
class | tool_lp_site_competencies_form_element |
Site competencies element. More... | |
Functions | |
tool_lp_competency_picker ($mform, $courseid, $context, $elementname) | |
Inject a course competency picker into the form. | |
tool_lp_coursemodule_edit_post_actions ($data, $course) | |
Hook the add/edit of the course module. | |
tool_lp_coursemodule_standard_elements ($formwrapper, $mform) | |
Inject the competencies elements into all moodle module settings forms. | |
tool_lp_extend_navigation_category_settings ($navigation, $coursecategorycontext) | |
This function extends the category navigation to add learning plan links. | |
tool_lp_extend_navigation_user ($navigation, $user, $usercontext, $course, $coursecontext) | |
This function extends the user navigation. | |
tool_lp_get_fontawesome_icon_map () | |
Map icons for font-awesome themes. | |
tool_lp_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. | |
tool_lp_render_competency_summary (\core_competency\competency $competency, core_competency\competency_framework $framework, $includerelated, $includecourses, $skipenabled=false) | |
Render a short bit of information about a competency. | |
tool_lp_competency_picker | ( | $mform, | |
$courseid, | |||
$context, | |||
$elementname ) |
Inject a course competency picker into the form.
MoodleQuickForm | $mform | The actual form object (required to modify the form). |
integer | $courseid | - SITEID or a course id |
context | $context | - The page context |
string | $elementname | - The name of the form element to create |
tool_lp_coursemodule_edit_post_actions | ( | $data, | |
$course ) |
Hook the add/edit of the course module.
stdClass | $data | Data from the form submission. |
stdClass | $course | The course. |
tool_lp_coursemodule_standard_elements | ( | $formwrapper, | |
$mform ) |
Inject the competencies elements into all moodle module settings forms.
moodleform | $formwrapper | The moodle quickforms wrapper object. |
MoodleQuickForm | $mform | The actual form object (required to modify the form). |
tool_lp_extend_navigation_category_settings | ( | $navigation, | |
$coursecategorycontext ) |
This function extends the category navigation to add learning plan links.
navigation_node | $navigation | The navigation node to extend |
context | $coursecategorycontext | The context of the course category |
tool_lp_extend_navigation_user | ( | $navigation, | |
$user, | |||
$usercontext, | |||
$course, | |||
$coursecontext ) |
This function extends the user navigation.
navigation_node | $navigation | The navigation node to extend |
stdClass | $user | The user object |
context_user | $usercontext | The user context |
stdClass | $course | The course object |
context_course | $coursecontext | The context of the course |
tool_lp_myprofile_navigation | ( | core_user\output\myprofile\tree | $tree, |
$user, | |||
$iscurrentuser, | |||
$course ) |
Add nodes to myprofile page.
core_user\output\myprofile\tree | $tree | Tree object |
stdClass | $user | user object |
bool | $iscurrentuser | |
stdClass | $course | Course object |
bool |
tool_lp_render_competency_summary | ( | \core_competency\competency | $competency, |
core_competency\competency_framework | $framework, | ||
$includerelated, | |||
$includecourses, | |||
$skipenabled = false ) |
Render a short bit of information about a competency.
core_competency\competency | $competency | The competency to show. |
core_competency\competency_framework | $framework | The competency framework. |
boolean | $includerelated | If true, show related competencies. |
boolean | $includecourses | If true, show courses using this competency. |
boolean | $skipenabled | If true, show this competency even if competencies are disabled. |
string | The html summary for the competency. |