ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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.ilAbstractLearningHistoryProvider.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11
abstract
class
ilAbstractLearningHistoryProvider
12
{
18
protected
$user_id
;
19
23
protected
$factory
;
24
28
protected
$lng
;
29
33
private
$template
;
34
42
public
function
__construct
(
43
$user_id
,
44
ilLearningHistoryFactory
$factory
,
45
ilLanguage
$lng
,
46
ilTemplate
$template
= null
47
) {
48
$this->user_id =
$user_id
;
49
$this->factory =
$factory
;
50
$this->lng =
$lng
;
51
52
if
(
$template
=== null) {
53
$template
=
new
ilTemplate
(
54
'tpl.emphasized_title.php'
,
55
true
,
56
true
,
57
'Services/LearningHistory'
58
);
59
}
60
$this->
template
=
$template
;
61
}
62
69
protected
function
getUserId
()
70
{
71
return
$this->user_id
;
72
}
73
79
protected
function
getFactory
()
80
{
81
return
$this->factory
;
82
}
83
89
protected
function
getLanguage
()
90
{
91
return
$this->lng
;
92
}
93
100
protected
function
getEmphasizedTitle
($title)
101
{
102
$clone = clone
$this->template
;
103
$clone->setVariable(
"TITLE"
, $title);
104
return
$clone->get();
105
}
106
}
ilTemplate
ilAbstractLearningHistoryProvider\getFactory
getFactory()
Get factory.
Definition:
class.ilAbstractLearningHistoryProvider.php:79
ilAbstractLearningHistoryProvider\$factory
$factory
Definition:
class.ilAbstractLearningHistoryProvider.php:23
ilAbstractLearningHistoryProvider\getEmphasizedTitle
getEmphasizedTitle($title)
Get emphasized title.
Definition:
class.ilAbstractLearningHistoryProvider.php:100
ilAbstractLearningHistoryProvider\$lng
$lng
Definition:
class.ilAbstractLearningHistoryProvider.php:28
ilAbstractLearningHistoryProvider
Abstract learning history provider.
Definition:
class.ilAbstractLearningHistoryProvider.php:11
ilAbstractLearningHistoryProvider\getUserId
getUserId()
Get user id.
Definition:
class.ilAbstractLearningHistoryProvider.php:69
ilAbstractLearningHistoryProvider\$template
$template
Definition:
class.ilAbstractLearningHistoryProvider.php:33
ilAbstractLearningHistoryProvider\getLanguage
getLanguage()
Get language object.
Definition:
class.ilAbstractLearningHistoryProvider.php:89
ilLearningHistoryFactory
Learning history factory.
Definition:
class.ilLearningHistoryFactory.php:11
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ilAbstractLearningHistoryProvider\__construct
__construct( $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ilTemplate $template=null)
Constructor.
Definition:
class.ilAbstractLearningHistoryProvider.php:42
ilAbstractLearningHistoryProvider\$user_id
$user_id
Definition:
class.ilAbstractLearningHistoryProvider.php:18
Services
LearningHistory
interfaces
class.ilAbstractLearningHistoryProvider.php
Generated on Sun Apr 6 2025 20:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)