[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/badges/ -> upgrade.txt (source)

   1  This files describes API changes in /badges/*,
   2  information provided here is intended especially for developers.
   3  
   4  === 2.7 ===
   5  
   6  * get_completed_criteria_sql() - This method was added to award_criteria class and must be overriden
   7    in all criteria classes. This method returns an array consisting of SQL JOIN statement, WHERE conditions,
   8    and any parameters that might be required. The results are used in lib/badgeslib.php in review_all_criteria()
   9    to reduce to the minimum the number of users to review and award badges.
  10  * New optional parameter $filtered in review() allows to indicate that some expensive checks can be skipped
  11    if the list of users has been initially filtered based on met criteria.
  12  * New optional parameter $archive in delete() in badge class in badgeslib.php
  13    allows to indicate that a badge should be archived instead of fully deleted.
  14    If this parameter is set to FALSE, a badge will all its information, criteria,
  15    and awards will be removed from the database.
  16  * BADGE_BACKPACKURL constant has been moved from badges/lib/backpacklib.php to lib/badgeslib.php, and URI scheme
  17    name ('http://') has been removed.


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