ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.
Create styles array
The data for the language used.