ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilUserBadgeProvider.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 "Services/User/classes/Badges/class.ilUserProfileBadge.php";
19  return array(
20  new ilUserProfileBadge()
21  );
22  }
23 }
Badge Provider interface.
getBadgeTypes()
Get available badge types from component.