ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilCourseMeritBadge Class Reference
+ Inheritance diagram for ilCourseMeritBadge:
+ Collaboration diagram for ilCourseMeritBadge:

Public Member Functions

 getId ()
 Get typ id (unique for component) More...
 
 getCaption ()
 Get caption. More...
 
 isSingleton ()
 Can only be created once? More...
 
 getValidObjectTypes ()
 Get valid (repository) "parent" object types. More...
 
 getConfigGUIInstance ()
 Get GUI config instance. More...
 

Detailed Description

Definition at line 14 of file class.ilCourseMeritBadge.php.

Member Function Documentation

◆ getCaption()

ilCourseMeritBadge::getCaption ( )

Get caption.

Returns
string

Implements ilBadgeType.

Definition at line 21 of file class.ilCourseMeritBadge.php.

References $lng.

22  {
23  global $lng;
24  return $lng->txt("badge_crs_merit");
25  }
global $lng
Definition: privfeed.php:17

◆ getConfigGUIInstance()

ilCourseMeritBadge::getConfigGUIInstance ( )

Get GUI config instance.

Returns
ilBadgeTypeGUI|null

Implements ilBadgeType.

Definition at line 37 of file class.ilCourseMeritBadge.php.

38  {
39  // no config
40  }

◆ getId()

ilCourseMeritBadge::getId ( )

Get typ id (unique for component)

Returns
string

Implements ilBadgeType.

Definition at line 16 of file class.ilCourseMeritBadge.php.

17  {
18  return "merit";
19  }

◆ getValidObjectTypes()

ilCourseMeritBadge::getValidObjectTypes ( )

Get valid (repository) "parent" object types.

Returns
array

Implements ilBadgeType.

Definition at line 32 of file class.ilCourseMeritBadge.php.

References array.

33  {
34  return array("crs", "grp");
35  }
Create styles array
The data for the language used.

◆ isSingleton()

ilCourseMeritBadge::isSingleton ( )

Can only be created once?

Returns
bool

Implements ilBadgeType.

Definition at line 27 of file class.ilCourseMeritBadge.php.

28  {
29  return true;
30  }

The documentation for this class was generated from the following file: