|
| | folder_add_instance ($data, $mform) |
| | Add folder instance.
|
| |
| | folder_archive_available ($folder, $cm) |
| | Check if the folder can be zipped and downloaded.
|
| |
| | folder_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.
|
| |
| | folder_cm_info_dynamic (cm_info $cm) |
| | Sets dynamic information about a course module.
|
| |
| | folder_cm_info_view (cm_info $cm) |
| | Overwrites the content in the course-module object with the folder files list if folder.display == FOLDER_DISPLAY_INLINE.
|
| |
| | folder_delete_instance ($id) |
| | Delete folder instance.
|
| |
| | folder_dndupload_handle ($uploadinfo) |
| | Handle a file that has been uploaded.
|
| |
| | folder_dndupload_register () |
| | Register the ability to handle drag and drop file uploads.
|
| |
| | folder_downloaded ($folder, $course, $cm, $context) |
| | Mark the activity completed (if required) and trigger the all_files_downloaded event.
|
| |
| | folder_export_contents ($cm, $baseurl) |
| | Export folder resource contents.
|
| |
| | folder_get_coursemodule_info ($cm) |
| | Given a coursemodule object, this function returns the extra information needed to print this activity in various places.
|
| |
| | folder_get_directory_size ($directory) |
| | Recursively measure the size of the files in a directory.
|
| |
| | folder_get_file_areas ($course, $cm, $context) |
| | Lists all browsable file areas.
|
| |
| | folder_get_file_info ($browser, $areas, $course, $cm, $context, $filearea, $itemid, $filepath, $filename) |
| | File browsing support for folder module content area.
|
| |
| | folder_get_post_actions () |
| | List the actions that correspond to a post of this module.
|
| |
| | folder_get_recent_activity ($context, $timestart, $userid=0) |
| | Gets recent file uploads in a given folder.
|
| |
| | folder_get_recent_mod_activity (&$activities, &$index, $timestart, $courseid, $cmid, $userid=0, $groupid=0) |
| | Returns all uploads since a given time in specified folder.
|
| |
| | folder_get_view_actions () |
| | List the actions that correspond to a view of this module.
|
| |
| | folder_page_type_list ($pagetype, $parentcontext, $currentcontext) |
| | Return a list of page types.
|
| |
| | folder_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) |
| | Serves the folder files.
|
| |
| | folder_print_recent_activity ($course, $viewfullnames, $timestart) |
| | Given a course and a date, prints a summary of all the new files posted in folder resources since that date.
|
| |
| | folder_print_recent_mod_activity ($activity, $courseid, $detail, $modnames, $viewfullnames) |
| | Outputs the folder uploads indicated by $activity.
|
| |
| | folder_reset_userdata ($data) |
| | This function is used by the reset_course_userdata function in moodlelib.
|
| |
| | folder_supports ($feature) |
| | List of features supported in Folder module.
|
| |
| | folder_update_instance ($data, $mform) |
| | Update folder instance.
|
| |
| | folder_view ($folder, $course, $cm, $context) |
| | Mark the activity completed (if required) and trigger the course_module_viewed event.
|
| |
| | mod_folder_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.
|
| |
| | mod_folder_get_path_from_pluginfile (string $filearea, array $args) |
| | Given an array with a file path, it returns the itemid and the filepath for the defined filearea.
|
| |