[AMOS commit] MDL-35768 Added format-specific options to edit course and section forms Committed into Git: 2012-10-11 05:31 UTC

[AMOS commit] MDL-35768 Added format-specific options to edit course and section forms Committed into Git: 2012-10-11 05:31 UTC

by AMOS bot -
Number of replies: 0
Author: Marina Glancy
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


http://git.moodle.org/gw?p=moodle.git;a=commit;h=fc79ede5a1dd5ea245488d1b0a73941688d55a1f
http://github.com/moodle/moodle/commit/fc79ede5a1dd5ea245488d1b0a73941688d55a1f

+ 2.4 en [courseformatoptions,core]
+ 2.4 en [courseformatudpate,core]