mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-35768 Added format-specific options to edit course and section forms
- Course format may define additional fields (format options) to store for course and each section - Edit course form allows to edit format-specific options and refreshes their list on format change - Course format may provide it's own form for editing a section - Default form for editing section allows to edit all format-specific fields - Class section_info refactored, it defines magic methods such as __get() to access basic section information and format-specific options (retrieved only on the first request) - format_base::update_course_format_options() allows to watch pre-update state of the course, format_legacy automatically copies the options with the same names between formats
- Loading branch information
1 parent
29ac9fc
commit fc79ede
Showing
11 changed files
with
635 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.