Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle 2.8 release notes: Difference between revisions

From MoodleDocs
Line 18: Line 18:
* There are new convenience functions to obtain <tt>$cm</tt> objects that belong to the <tt>cm_info</tt> class. <tt>get_course_and_cm_from_cmid($cmorid, $modulename)</tt> and <tt>get_course_and_cm_from_instance($instanceorid, $modulename)</tt> will efficiently obtain <tt>$course</tt> and <tt>$cm</tt> at the start of a module script in one line. Also, the new function <tt>cm_info::create($cm)</tt> can be used when you need a <tt>cm_info</tt> object, but only have a standard database record.
* There are new convenience functions to obtain <tt>$cm</tt> objects that belong to the <tt>cm_info</tt> class. <tt>get_course_and_cm_from_cmid($cmorid, $modulename)</tt> and <tt>get_course_and_cm_from_instance($instanceorid, $modulename)</tt> will efficiently obtain <tt>$course</tt> and <tt>$cm</tt> at the start of a module script in one line. Also, the new function <tt>cm_info::create($cm)</tt> can be used when you need a <tt>cm_info</tt> object, but only have a standard database record.
* Choice event definitions have changed in MDL-3034 [placeholder for this to be expanded]
* Choice event definitions have changed in MDL-3034 [placeholder for this to be expanded]
* MDL-47194 - A new inbound message API was created.
* ...
* ...



Revision as of 07:50, 6 October 2014

Releases > Moodle 2.8 release notes


Release date: Not yet released

Here is the full list of fixed issues in 2.8.

Highlights

  • MDL-3714 - Reply to forum posts by e-mail

Functional changes

  • ...

API changes

  • There are new convenience functions to obtain $cm objects that belong to the cm_info class. get_course_and_cm_from_cmid($cmorid, $modulename) and get_course_and_cm_from_instance($instanceorid, $modulename) will efficiently obtain $course and $cm at the start of a module script in one line. Also, the new function cm_info::create($cm) can be used when you need a cm_info object, but only have a standard database record.
  • Choice event definitions have changed in MDL-3034 [placeholder for this to be expanded]
  • MDL-47194 - A new inbound message API was created.
  • ...

Fixes and improvements

  • ...