Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
locallib.php File Reference

Private url module utility functions. More...

Functions

 url_appears_valid_url ($url)
 This methods does weak url validation, we are looking for major problems only, no strict RFE validation.
 
 url_display_embed ($url, $cm, $course)
 Display embedded url file.
 
 url_display_frame ($url, $cm, $course)
 Display url frames.
 
 url_filter_callback ($matches)
 Unicode encoding helper callback.
 
 url_fix_submitted_url ($url)
 Fix common URL problems that we want teachers to see fixed the next time they edit the resource.
 
 url_get_encrypted_parameter ($url, $config)
 BC internal function.
 
 url_get_final_display_type ($url)
 Decide the best display format.
 
 url_get_full_url ($url, $cm, $course, $config=null)
 Return full url with all extra parameters.
 
 url_get_intro (object $url, object $cm, bool $ignoresettings=false)
 Get url introduction.
 
 url_get_variable_options ($config)
 Get the parameters that may be appended to URL.
 
 url_get_variable_values ($url, $cm, $course, $config)
 Get the parameter values that may be appended to URL.
 
 url_guess_icon ($fullurl, $size=null)
 Optimised mimetype detection from general URL.
 
 url_print_header ($url, $cm, $course)
 Print url header.
 
 url_print_workaround ($url, $cm, $course)
 Print url info and link.
 

Detailed Description

Private url module utility functions.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later