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
LSLearnerItem.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
11
class
LSLearnerItem
extends
LSItem
12
{
16
protected
$usr_id
;
17
21
protected
$learning_progress_status
;
22
26
protected
$availability_status
;
27
28
public
function
__construct
(
29
int
$usr_id
,
30
int
$learning_progress_status
,
31
int
$availability_status
,
32
LSItem
$ls_item
33
) {
34
$this->usr_id =
$usr_id
;
35
$this->learning_progress_status =
$learning_progress_status
;
36
$this->availability_status =
$availability_status
;
37
parent::__construct
(
38
$ls_item->
getType
(),
39
$ls_item->
getTitle
(),
40
$ls_item->
getDescription
(),
41
$ls_item->
getIconPath
(),
42
$ls_item->
isOnline
(),
43
$ls_item->
getOrderNumber
(),
44
$ls_item->
getPostCondition
(),
45
$ls_item->
getRefId
()
46
);
47
}
48
49
public
function
getUserId
() : int
50
{
51
return
$this->usr_id
;
52
}
53
54
public
function
getLearningProgressStatus
() : int
55
{
56
return
$this->learning_progress_status
;
57
}
58
59
public
function
getAvailability
() : int
60
{
61
return
$this->availability_status
;
62
}
63
64
public
function
withPostCondition
(
ilLSPostCondition
$postcondition) :
LSItem
65
{
66
throw
new \LogicException(
'keep this item receptive only'
);
67
}
68
69
public
function
withOrderNumber
(
int
$position) :
LSItem
70
{
71
throw
new \LogicException(
'keep this item receptive only'
);
72
}
73
74
public
function
withOnline
(
bool
$online) :
LSItem
75
{
76
throw
new \LogicException(
'keep this item receptive only'
);
77
}
78
}
LSLearnerItem\getUserId
getUserId()
Definition:
LSLearnerItem.php:49
LSItem\getTitle
getTitle()
Definition:
LSItem.php:78
LSItem\getOrderNumber
getOrderNumber()
Definition:
LSItem.php:105
LSItem\getPostCondition
getPostCondition()
Definition:
LSItem.php:117
LSLearnerItem\__construct
__construct(int $usr_id, int $learning_progress_status, int $availability_status, LSItem $ls_item)
Definition:
LSLearnerItem.php:28
LSLearnerItem\withPostCondition
withPostCondition(ilLSPostCondition $postcondition)
Definition:
LSLearnerItem.php:64
LSLearnerItem\getAvailability
getAvailability()
Definition:
LSLearnerItem.php:59
LSItem\getDescription
getDescription()
Definition:
LSItem.php:83
LSLearnerItem\$usr_id
$usr_id
Definition:
LSLearnerItem.php:16
LSItem\getRefId
getRefId()
Definition:
LSItem.php:129
LSLearnerItem\getLearningProgressStatus
getLearningProgressStatus()
Definition:
LSLearnerItem.php:54
LSLearnerItem\$availability_status
$availability_status
Definition:
LSLearnerItem.php:26
LSItem\getIconPath
getIconPath()
Definition:
LSItem.php:88
LSItem\isOnline
isOnline()
Definition:
LSItem.php:93
LSItem
Data holding class LSItem .
Definition:
LSItem.php:11
LSLearnerItem\withOnline
withOnline(bool $online)
Definition:
LSLearnerItem.php:74
ilLSPostCondition
A PostCondition does restrict the progression of a user through the learning sequence.
Definition:
class.ilLSPostCondition.php:14
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
LSLearnerItem\$learning_progress_status
$learning_progress_status
Definition:
LSLearnerItem.php:21
LSItem\getType
getType()
Definition:
LSItem.php:73
LSLearnerItem\withOrderNumber
withOrderNumber(int $position)
Definition:
LSLearnerItem.php:69
LSLearnerItem
Add learning progress and availability information to the LSItem.
Definition:
LSLearnerItem.php:11
Modules
LearningSequence
classes
LearnerProgress
LSLearnerItem.php
Generated on Wed Apr 9 2025 20:01:05 for ILIAS by
1.8.13 (using
Doxyfile
)