Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Base class for course format plugins. More...
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. | |
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. | |
Base class for course format plugins.