Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Upgrade scripts for course format "Topics". More...
Functions | |
format_topics_upgrade_add_empty_sections ($courseid, $numsections) | |
This method adds empty sections to courses which have fewer sections than their 'numsections' course format option and adds these empty sections. More... | |
format_topics_upgrade_hide_extra_sections ($courseid, $numsections) | |
Find all sections in the course with sectionnum bigger than numsections. More... | |
format_topics_upgrade_remove_numsections () | |
This method finds all courses in 'topics' format that have actual number of sections different than their 'numsections' course format option. More... | |
Upgrade scripts for course format "Topics".