mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
improved PHP docs
This commit is contained in:
parent
c5e5df54a6
commit
6a630a1093
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user