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