[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/lp/ -> lib.php (summary)

This page contains navigation hooks for learning plans.

Copyright: 2015 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 244 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  tool_lp_extend_navigation_course()
  tool_lp_extend_navigation_user()
  tool_lp_myprofile_navigation()
  tool_lp_extend_navigation_category_settings()
  tool_lp_coursemodule_standard_elements()
  tool_lp_coursemodule_edit_post_actions()

Functions
Functions that are not part of a class:

tool_lp_extend_navigation_course($navigation, $course, $coursecontext)   X-Ref
This function extends the course navigation

param: navigation_node $navigation The navigation node to extend
param: stdClass $course The course to object for the tool
param: context $coursecontext The context of the course

tool_lp_extend_navigation_user($navigation, $user, $usercontext, $course, $coursecontext)   X-Ref
This function extends the user navigation.

param: navigation_node $navigation The navigation node to extend
param: stdClass $user The user object
param: context_user $usercontext The user context
param: stdClass $course The course object
param: context_course $coursecontext The context of the course

tool_lp_myprofile_navigation(core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course)   X-Ref
Add nodes to myprofile page.

param: \core_user\output\myprofile\tree $tree Tree object
param: stdClass $user user object
param: bool $iscurrentuser
param: stdClass $course Course object
return: bool

tool_lp_extend_navigation_category_settings($navigation, $coursecategorycontext)   X-Ref
This function extends the category navigation to add learning plan links.

param: navigation_node $navigation The navigation node to extend
param: context $coursecategorycontext The context of the course category

tool_lp_coursemodule_standard_elements($formwrapper, $mform)   X-Ref
Inject the competencies elements into all moodle module settings forms.

param: moodleform $formwrapper The moodle quickforms wrapper object.
param: MoodleQuickForm $mform The actual form object (required to modify the form).

tool_lp_coursemodule_edit_post_actions($data, $course)   X-Ref
Hook the add/edit of the course module.

param: stdClass $data Data from the form submission.
param: stdClass $course The course.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1