Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [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: | 138 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 |