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

Functions

 min_clean_param ($value, $type)
 Minimalistic parameter cleaning function.
 
 min_enable_zlib_compression ()
 This method tries to enable output compression if possible.
 
 min_fix_utf8 ($value)
 Minimalistic UTF-8 sanitisation.
 
 min_get_maximum_revision ()
 Get the highest possible currently valid revision number.
 
 min_get_minimum_revision ()
 Get the lowest possible currently valid revision number.
 
 min_get_slash_argument ($clean=true)
 Returns the slashargument part of the URL.
 
 min_is_revision_valid_and_current (int $revision)
 Helper function to determine if the given revision number is valid.
 
 min_optional_param ($name, $default, $type)
 Minimalistic library, usable even when no other moodle libs are loaded.