Merge branch 'wip-MDL-39145-m25' of git://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-04-17 01:27:39 +02:00
commit 9004d7a51c
2 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,14 @@ This files describes API changes for course formats
Overview of this plugin type at http://docs.moodle.org/dev/Course_formats Overview of this plugin type at http://docs.moodle.org/dev/Course_formats
=== 2.5 ===
* Functions responsible for output in course/lib.php are deprecated, the code is moved to
appropriate renderers: print_section(), print_section_add_menus(), get_print_section_cm_text(),
make_editing_buttons()
See functions' phpdocs in lib/deprecatedlib.php
* Function get_print_section_cm_text() is deprecated, replaced with methods in cm_info
=== 2.4 === === 2.4 ===
Course format API has been changed significantly. Instead of implementing callbacks course formats Course format API has been changed significantly. Instead of implementing callbacks course formats

View File

@ -10,7 +10,8 @@ information provided here is intended especially for developers.
an option for 0 bytes. Existing code that was replacing the 0 option in the return an option for 0 bytes. Existing code that was replacing the 0 option in the return
from this function with a more sensible message, can now use the return from this function directly. from this function with a more sensible message, can now use the return from this function directly.
* Functions responsible for output in course/lib.php are deprecated, the code is moved to * Functions responsible for output in course/lib.php are deprecated, the code is moved to
appropriate renderers: print_section_add_menus() appropriate renderers: print_section(), print_section_add_menus(), get_print_section_cm_text(),
make_editing_buttons()
See functions' phpdocs in lib/deprecatedlib.php See functions' phpdocs in lib/deprecatedlib.php
* Function get_print_section_cm_text() is deprecated, replaced with methods in cm_info * Function get_print_section_cm_text() is deprecated, replaced with methods in cm_info
* zip_packer may create empty zip archives, there is a new option to ignore * zip_packer may create empty zip archives, there is a new option to ignore