ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilLSPostCondition.php
Go to the documentation of this file.
1
<?
php
2
3
declare(strict_types=1);
4
14
class
ilLSPostCondition
15
{
19
protected
$ref_id
;
20
24
protected
$operator
;
25
29
protected
$value
;
30
31
public
function
__construct
(
32
int
$ref_id
,
33
string
$operator
,
34
$value
= null
35
) {
36
$this->ref_id =
$ref_id
;
37
$this->
operator
=
$operator
;
38
$this->value =
$value
;
39
}
40
41
public
function
getRefId
() : int
42
{
43
return
$this->ref_id
;
44
}
45
46
47
public
function
getConditionOperator
() : string
48
{
49
return
$this->operator
;
50
}
51
52
public
function
withConditionOperator
(
string
$operator
) :
ilLSPostCondition
53
{
54
$clone = clone $this;
55
$clone->operator =
$operator
;
56
return
$clone;
57
}
58
59
public
function
getValue
()
60
{
61
return
$this->value
;
62
}
63
64
public
function
withValue
(
$value
) :
ilLSPostCondition
65
{
66
$clone = clone $this;
67
$clone->value =
$value
;
68
return
$clone;
69
}
70
}
ilLSPostCondition\$ref_id
$ref_id
Definition:
class.ilLSPostCondition.php:19
ilLSPostCondition\$operator
$operator
Definition:
class.ilLSPostCondition.php:24
ilLSPostCondition\getValue
getValue()
Definition:
class.ilLSPostCondition.php:59
ilLSPostCondition\__construct
__construct(int $ref_id, string $operator, $value=null)
Definition:
class.ilLSPostCondition.php:31
ilLSPostCondition\withConditionOperator
withConditionOperator(string $operator)
Definition:
class.ilLSPostCondition.php:52
ilLSPostCondition\$value
$value
Definition:
class.ilLSPostCondition.php:29
ilLSPostCondition\withValue
withValue($value)
Definition:
class.ilLSPostCondition.php:64
ilLSPostCondition\getRefId
getRefId()
Definition:
class.ilLSPostCondition.php:41
ilLSPostCondition
A PostCondition does restrict the progression of a user through the learning sequence.
Definition:
class.ilLSPostCondition.php:14
php
ilLSPostCondition\getConditionOperator
getConditionOperator()
Definition:
class.ilLSPostCondition.php:47
Modules
LearningSequence
classes
PostConditions
class.ilLSPostCondition.php
Generated on Thu Jan 30 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)