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

Classes

class  format_site
 Pseudo course format used for the site main page. More...
 

Functions

 clean_param_if_not_null ($param, string $type=PARAM_RAW)
 Cleans the given param, unless it is null.
 
 contract_value (array &$dest, array $source, array $option, string $optionname)
 'Converts' a value from what is stored in the database into what is used by edit forms.
 
 core_courseformat_output_fragment_cmitem ($args)
 Course-module fragment renderer method.
 
 core_courseformat_output_fragment_section ($args)
 Section fragment renderer method.
 
 course_get_format ($courseorid)
 Returns an instance of format class (extending course_format) for given course.
 
 expand_value (array &$dest, array $source, array $option, string $optionname)
 'Converts' a value from what is used in edit forms into a value(s) to be stored in the database.