|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
A PostCondition does restrict the progression of a user through the learning sequence. More...
Collaboration diagram for ilLSPostCondition:Public Member Functions | |
| __construct (int $ref_id, string $operator, ?string $value=null) | |
| getRefId () | |
| withRefId (int $ref_id) | |
| getConditionOperator () | |
| withConditionOperator (string $operator) | |
| getValue () | |
| withValue (string $value) | |
Data Fields | |
| const | OPERATOR_LP = 'learning_progress' |
| const | OPERATOR_ALWAYS = 'always' |
| const | OPERATOR_FAILED = 'failed' |
| const | OPERATOR_FINISHED = 'finished' |
| const | OPERATOR_NOT_FINISHED = 'not_finished' |
| const | OPERATOR_PASSED = 'passed' |
Protected Attributes | |
| int | $ref_id |
| string | $operator |
| string | $value |
Static Protected Attributes | |
| static | $known_operators |
A PostCondition does restrict the progression of a user through the learning sequence.
Thus, instead of saying "You may only _visit_ this object if you did this", a PostCondition says "you may only _leave_ this object if you did this".
LSPostConditions are being applied by the LearningSequenceConditionController.
Definition at line 28 of file class.ilLSPostCondition.php.
| ilLSPostCondition::__construct | ( | int | $ref_id, |
| string | $operator, | ||
| ?string | $value = null |
||
| ) |
Definition at line 50 of file class.ilLSPostCondition.php.
| ilLSPostCondition::getConditionOperator | ( | ) |
Definition at line 78 of file class.ilLSPostCondition.php.
References $operator.
| ilLSPostCondition::getRefId | ( | ) |
Definition at line 66 of file class.ilLSPostCondition.php.
References $ref_id.
Referenced by ilLSPostConditionDB\upsert().
Here is the caller graph for this function:| ilLSPostCondition::getValue | ( | ) |
Definition at line 96 of file class.ilLSPostCondition.php.
References $value.
| ilLSPostCondition::withConditionOperator | ( | string | $operator | ) |
Definition at line 83 of file class.ilLSPostCondition.php.
References $operator.
| ilLSPostCondition::withRefId | ( | int | $ref_id | ) |
Definition at line 71 of file class.ilLSPostCondition.php.
References $ref_id.
| ilLSPostCondition::withValue | ( | string | $value | ) |
Definition at line 101 of file class.ilLSPostCondition.php.
References $value.
|
staticprotected |
Definition at line 37 of file class.ilLSPostCondition.php.
|
protected |
Definition at line 47 of file class.ilLSPostCondition.php.
Referenced by __construct(), getConditionOperator(), and withConditionOperator().
|
protected |
Definition at line 46 of file class.ilLSPostCondition.php.
Referenced by __construct(), getRefId(), and withRefId().
|
protected |
Definition at line 48 of file class.ilLSPostCondition.php.
Referenced by __construct(), getValue(), and withValue().
| const ilLSPostCondition::OPERATOR_ALWAYS = 'always' |
Definition at line 31 of file class.ilLSPostCondition.php.
| const ilLSPostCondition::OPERATOR_FAILED = 'failed' |
Definition at line 32 of file class.ilLSPostCondition.php.
| const ilLSPostCondition::OPERATOR_FINISHED = 'finished' |
Definition at line 33 of file class.ilLSPostCondition.php.
| const ilLSPostCondition::OPERATOR_LP = 'learning_progress' |
Definition at line 30 of file class.ilLSPostCondition.php.
Referenced by ilObjLearningSequenceContentTableGUI\getLPSettingsRepresentation().
| const ilLSPostCondition::OPERATOR_NOT_FINISHED = 'not_finished' |
Definition at line 34 of file class.ilLSPostCondition.php.
| const ilLSPostCondition::OPERATOR_PASSED = 'passed' |
Definition at line 35 of file class.ilLSPostCondition.php.