Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
add_moduleinfo ($moduleinfo, $course, $mform=null) | |
Add course module. | |
can_add_moduleinfo ($course, $modulename, $section) | |
Check that the user can add a module. | |
can_update_moduleinfo ($cm) | |
Check if user is allowed to update module info and returns related item/data to the module. | |
edit_module_post_actions ($moduleinfo, $course) | |
Common create/update module module actions that need to be processed as soon as a module is created/updaded. | |
get_moduleinfo_data ($cm, $course) | |
Get module information data required for updating the module. | |
include_modulelib ($modulename) | |
Include once the module lib file. | |
plugin_extend_coursemodule_edit_post_actions ($moduleinfo, $course) | |
Hook for plugins to take action when a module is created or updated. | |
prepare_new_moduleinfo_data ($course, $modulename, $section, string $suffix='') | |
Prepare the standard module information for a new module instance. | |
set_moduleinfo_defaults ($moduleinfo) | |
Set module info default values for the unset module attributs. | |
update_moduleinfo ($cm, $moduleinfo, $course, $mform=null) | |
Update the module info. | |