|
Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Minimalistic library, usable even when no other moodle libs are loaded. More...
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 parameter validation function. | |
Minimalistic library, usable even when no other moodle libs are loaded.
The only library that gets loaded if you define ABORT_AFTER_CONFIG before including main config.php. You can resume normal script operation if you define ABORT_AFTER_CONFIG_CANCEL and require the setup.php