[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/search/classes/ -> base_mod.php (summary)

Search area base class for areas working at module level.

Copyright: 2015 David Monllao {@link http://www.davidmonllao.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 81 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  get_cm()

Functions
Functions that are not part of a class:

get_cm($modulename, $instanceid, $courseid)   X-Ref
Gets the course module for the required instanceid + modulename.

The returned data depends on the logged user, when calling this through
self::get_document the admin user is used so everything would be returned.

No need more internal caching here, modinfo is already cached.

param: string $modulename The module name
param: int $instanceid Module instance id (depends on the module)
param: int $courseid Helps speeding up things
return: \cm_info



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1