| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Code used by scheduled tasks for reviewing and aggregating course completion criteria.
| Author: | Aaron Barnes <aaronb@catalyst.net.nz> |
| Copyright: | 2009 Catalyst IT Ltd |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 393 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 3 times |
| Includes or requires: | 0 files |
| completion_cron_mark_started() X-Ref |
| Mark users as started if the config option is set return: void |
| completion_cron_criteria() X-Ref |
| Run installed criteria's data aggregation methods Loop through each installed criteria and run the cron() method if it exists return: void |
| completion_cron_completions() X-Ref |
| Aggregate each user's criteria completions |
| completion_cron_aggregate($method, $data, &$state) X-Ref |
| Aggregate criteria status's as per configured aggregation method param: int $method COMPLETION_AGGREGATION_* constant param: bool $data Criteria completion status param: bool|null $state Aggregation state |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |