Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Recourse module like helper functions. More...
Functions | |
resourcelib_embed_general ($fullurl, $title, $clicktoopen, $mimetype) | |
Returns general link or file embedding html. More... | |
resourcelib_embed_image ($fullurl, $title) | |
Returns image embedding html. More... | |
resourcelib_embed_pdf ($fullurl, $title, $clicktoopen) | |
Returns general link or pdf embedding html. More... | |
resourcelib_get_displayoptions (array $enabled, $current=null) | |
Returns list of available display options. More... | |
resourcelib_get_extension ($fullurl) | |
Looks for the extension. More... | |
resourcelib_guess_url_mimetype ($fullurl) | |
Tries to guess correct mimetype for arbitrary URL. More... | |
resourcelib_try_file_migration ($filepath, $cmid, $courseid, $component, $filearea, $itemid) | |
Try on demand migration of file from old course files. More... | |
Recourse module like helper functions.
@subpackage lib