[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/lesson/ -> upgrade.txt (source)

   1  This files describes API changes in the lesson code.
   2  
   3  === 3.1 ===
   4  * Removed the unused file reformat.php
   5  * removedoublecr() and importmodifiedaikenstyle() have now been removed.
   6  
   7  === 3.0 ===
   8  * Removed broken high score code.  Use the activity results block instead.
   9  
  10  === 2.9 ===
  11  * The  grade_item_delete function in mod/lesson/lib.php was removed because it was not doing anything and was never called.
  12  * A third optional boolean parameter $endreached was added to lesson::update_timer to indicate that end of lesson was reached. This is used by 'completionendreached' custom completion rule.
  13  * lesson_page_type_endofbranch::update in mod/lesson/pagetypes/endofbranch.php
  14    and lesson_page_type_endofcluster::update in mod/lesson/pagetypes/endofcluster.php
  15    have been removed, this is now handled by the base class: lesson_page::update in
  16    locallib.php and the exact same code is executed (it is also executed by the
  17    lesson_page_type_cluster class that previously had no update function).
  18  * A fourth parameter (format) has been added to the add_answer() function
  19    located as part of the lesson_add_page_form_base class. If specified with a value of 'LESSON_ANSWER_HTML'
  20    then a rich html editor is generated. Otherwise an editor is created with Moodle Auto Format
  21  * removedoublecr() and importmodifiedaikenstyle() are now deprecated.
  22  * Added support for groups and groupings. If enabled, this allows the Report and
  23    Grade Essay view to be filtered by a group
  24  
  25  === Earlier changes ===
  26  
  27  * Were not documented in this way. Sorry.


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1