improved PHP docs

This commit is contained in:
Petr Skoda 2010-09-18 12:12:33 +00:00
parent c5e5df54a6
commit 6a630a1093

View File

@ -771,7 +771,10 @@ class moodle_page {
/**
* The course module that this page belongs to (if it does belong to one).
*
* @param objcet $cm a full cm object obtained from get_coursemodule_from_id or get_coursemodule_from_instance.
* @param stdClass $cm a full cm object obtained from get_coursemodule_from_id or get_coursemodule_from_instance.
* @param stdClass $course
* @param stdClass $module
* @return void
*/
public function set_cm($cm, $course = null, $module = null) {
global $DB;