ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilCourseMeritBadge.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=0);
25
class
ilCourseMeritBadge
implements
ilBadgeType
26
{
27
protected
ilLanguage
$lng
;
28
29
public
function
__construct
()
30
{
31
global
$DIC
;
32
33
$this->
lng
= $DIC->language();
34
}
35
36
public
function
getId
(): string
37
{
38
return
"merit"
;
39
}
40
41
public
function
getCaption
(): string
42
{
43
return
$this->
lng
->txt(
"badge_crs_merit"
);
44
}
45
46
public
function
isSingleton
(): bool
47
{
48
return
true
;
49
}
50
54
public
function
getValidObjectTypes
(): array
55
{
56
return
[
"crs"
,
"grp"
];
57
}
58
59
public
function
getConfigGUIInstance
(): ?
ilBadgeTypeGUI
60
{
61
return
null;
62
}
63
}
ilCourseMeritBadge\__construct
__construct()
Definition:
class.ilCourseMeritBadge.php:29
ilLanguage
ilCourseMeritBadge\getConfigGUIInstance
getConfigGUIInstance()
Get GUI config instance.
Definition:
class.ilCourseMeritBadge.php:59
ilBadgeType
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBadgeType.php:23
$DIC
global $DIC
Definition:
feed.php:28
ilCourseMeritBadge\$lng
ilLanguage $lng
Definition:
class.ilCourseMeritBadge.php:27
ilCourseMeritBadge\getId
getId()
Get typ id (unique for component)
Definition:
class.ilCourseMeritBadge.php:36
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:56
ilCourseMeritBadge\isSingleton
isSingleton()
Can only be created once?
Definition:
class.ilCourseMeritBadge.php:46
ilBadgeTypeGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBadgeTypeGUI.php:23
ilCourseMeritBadge
Definition:
class.ilCourseMeritBadge.php:25
ilCourseMeritBadge\getCaption
getCaption()
Definition:
class.ilCourseMeritBadge.php:41
ilCourseMeritBadge\getValidObjectTypes
getValidObjectTypes()
Definition:
class.ilCourseMeritBadge.php:54
Modules
Course
classes
Badges
class.ilCourseMeritBadge.php
Generated on Tue Apr 1 2025 22:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)