ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilCourseMeritBadge.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.ilBadgeType.php"
;
5
14
class
ilCourseMeritBadge
implements
ilBadgeType
15
{
16
public
function
getId
()
17
{
18
return
"merit"
;
19
}
20
21
public
function
getCaption
()
22
{
23
global
$DIC
;
24
25
$lng
= $DIC[
'lng'
];
26
return
$lng
->txt(
"badge_crs_merit"
);
27
}
28
29
public
function
isSingleton
()
30
{
31
return
true
;
32
}
33
34
public
function
getValidObjectTypes
()
35
{
36
return
array(
"crs"
,
"grp"
);
37
}
38
39
public
function
getConfigGUIInstance
()
40
{
41
// no config
42
}
43
}
ilCourseMeritBadge\getConfigGUIInstance
getConfigGUIInstance()
Get GUI config instance.
Definition:
class.ilCourseMeritBadge.php:39
$DIC
global $DIC
Definition:
saml.php:7
ilBadgeType
Badge type interface.
Definition:
interface.ilBadgeType.php:12
ilCourseMeritBadge\getId
getId()
Get typ id (unique for component)
Definition:
class.ilCourseMeritBadge.php:16
$lng
$lng
Definition:
save_question_post_data.php:23
ilCourseMeritBadge\isSingleton
isSingleton()
Can only be created once?
Definition:
class.ilCourseMeritBadge.php:29
ilCourseMeritBadge
Definition:
class.ilCourseMeritBadge.php:14
ilCourseMeritBadge\getCaption
getCaption()
Get caption.
Definition:
class.ilCourseMeritBadge.php:21
php
ilCourseMeritBadge\getValidObjectTypes
getValidObjectTypes()
Get valid (repository) "parent" object types.
Definition:
class.ilCourseMeritBadge.php:34
Modules
Course
classes
Badges
class.ilCourseMeritBadge.php
Generated on Thu Jan 16 2025 19:02:00 for ILIAS by
1.8.13 (using
Doxyfile
)