Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
upgradelib.php File Reference

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...
 

Detailed Description

Upgrade scripts for course format "Topics".

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later