See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
Any access indicator.
Copyright: | 2019 David Monllao {@link http://www.davidmonllao.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 135 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
any_course_access:: (4 methods):
get_name()
required_sample_data()
fill_per_analysable_caches()
calculate_sample()
Class: any_course_access - X-Ref
Any access indicator.get_name() X-Ref |
Returns the name. If there is a corresponding '_help' string this will be shown as well. return: \lang_string |
required_sample_data() X-Ref |
required_sample_data return: string[] |
fill_per_analysable_caches(\core_analytics\analysable $analysable) X-Ref |
Store userid => timeaccess relation if the provided analysable is a course. param: \core_analytics\analysable $analysable return: null |
calculate_sample($sampleid, $sampleorigin, $starttime = false, $endtime = false) X-Ref |
calculate_sample param: int $sampleid param: string $sampleorigin param: int $starttime param: int $endtime return: float |