|
| get_course_and_cm_from_cmid ($cmorid, $modulename='', $courseorid=0, $userid=0) |
| Efficiently retrieves the $course (stdclass) and $cm (cm_info) objects, given a cmid.
|
|
| get_course_and_cm_from_instance ($instanceorid, $modulename, $courseorid=0, $userid=0) |
| Efficiently retrieves the $course (stdclass) and $cm (cm_info) objects, given an instance id or record and module name.
|
|
| get_fast_modinfo ($courseorid, $userid=0, $resetonly=false) |
| Returns reference to full info about modules in course (including visibility).
|
|
moodle_database | rebuild_course_cache (int $courseid=0, bool $clearonly=false, bool $partialrebuild=false) |
| Rebuilds or resets the cached list of course activities stored in MUC.
|
|