[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/badges/ -> cron.php (summary)

Cron job for reviewing and aggregating badge award criteria

Author: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
Copyright: 2012 onwards Totara Learning Solutions Ltd {@link http://www.totaralms.com/}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 157 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  badge_cron()
  badge_review_cron()
  badge_message_cron()
  badge_assemble_notification()

Functions
Functions that are not part of a class:

badge_cron()   X-Ref
No description

badge_review_cron()   X-Ref
Reviews criteria and awards badges

First find all badges that can be earned, then reviews each badge.
(Not sure how efficient this is timewise).

badge_message_cron()   X-Ref
Sends out scheduled messages to badge creators


badge_assemble_notification(stdClass $badge)   X-Ref
Creates single message for all notification and sends it out

param: object $badge A badge which is notified about.



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