ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilCourseBadgeProvider.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once "./Services/Badge/interfaces/interface.ilBadgeProvider.php";
5 
15 {
16  public function getBadgeTypes()
17  {
18  include_once "Modules/Course/classes/Badges/class.ilCourseMeritBadge.php";
19  include_once "Modules/Course/classes/Badges/class.ilCourseLPBadge.php";
20  return array(
21  new ilCourseMeritBadge()
22  ,new ilCourseLPBadge()
23  );
24  }
25 }
Badge Provider interface.
getBadgeTypes()
Get available badge types from component.