ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
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
$DIC
global $DIC
Definition:
goto.php:24
ilCourseMeritBadge
Definition:
class.ilCourseMeritBadge.php:14
ilCourseMeritBadge\getCaption
getCaption()
Get caption.
Definition:
class.ilCourseMeritBadge.php:21
ilCourseMeritBadge\getValidObjectTypes
getValidObjectTypes()
Get valid (repository) "parent" object types.
Definition:
class.ilCourseMeritBadge.php:34
Modules
Course
classes
Badges
class.ilCourseMeritBadge.php
Generated on Sat Apr 5 2025 21:00:56 for ILIAS by
1.8.13 (using
Doxyfile
)