Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
|
Base class for course format plugins. More...
Classes | |
class | format_base |
Base class for course formats. More... | |
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. More... | |
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. More... | |
course_get_format ($courseorid) | |
Returns an instance of format class (extending format_base) for given course. More... | |
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. More... | |
Base class for course format plugins.