|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
modinfolib.php - Functions/classes relating to cached information about module instances on a course. More...
Classes | |
| class | cached_cm_info |
| Class that is the return value for the _get_coursemodule_info module API function. More... | |
| class | cm_info |
| class | course_modinfo |
| class | section_info |
Functions | |
| 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. More... | |
| 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. More... | |
| get_fast_modinfo ($courseorid, $userid=0, $resetonly=false) | |
| Returns reference to full info about modules in course (including visibility). More... | |
| moodle_database | rebuild_course_cache ($courseid=0, $clearonly=false) |
| Rebuilds or resets the cached list of course activities stored in MUC. More... | |
modinfolib.php - Functions/classes relating to cached information about module instances on a course.
@subpackage lib