Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
lib.php File Reference

Functions

 imscp_add_instance ($data, $mform)
 Add imscp instance.
 
 imscp_check_updates_since (cm_info $cm, $from, $filter=array())
 Check if the module has any update that affects the current user since a given time.
 
 imscp_delete_instance ($id)
 Delete imscp instance.
 
 imscp_export_contents ($cm, $baseurl)
 Export imscp resource contents.
 
 imscp_get_file_areas ($course, $cm, $context)
 Lists all browsable file areas.
 
 imscp_get_file_info ($browser, $areas, $course, $cm, $context, $filearea, $itemid, $filepath, $filename)
 File browsing support for imscp module ontent area.
 
 imscp_get_post_actions ()
 List the actions that correspond to a post of this module.
 
 imscp_get_view_actions ()
 List the actions that correspond to a view of this module.
 
 imscp_page_type_list ($pagetype, $parentcontext, $currentcontext)
 Return a list of page types.
 
 imscp_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Serves the imscp files.
 
 imscp_reset_userdata ($data)
 This function is used by the reset_course_userdata function in moodlelib.
 
 imscp_supports ($feature)
 List of features supported in IMS CP module.
 
 imscp_update_instance ($data, $mform)
 Update imscp instance.
 
 imscp_view ($imscp, $course, $cm, $context)
 Mark the activity completed (if required) and trigger the course_module_viewed event.
 
 mod_imscp_core_calendar_provide_event_action (calendar_event $event, core_calendar\action_factory $factory, int $userid=0)
 This function receives a calendar event and returns the action associated with it, or null if there is none.