ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
INTERNAL CLASS: Please do not use in consumer code. More...
Public Member Functions | |
__construct () | |
constructor public More... | |
setReferenceHandlingType ($a_type) | |
set reference handling type More... | |
getReferenceHandlingType () | |
get reference handling type More... | |
setErrorMessage ($a_msg) | |
getErrorMessage () | |
setTargetRefId ($a_target_ref_id) | |
set target ref id More... | |
getTargetRefId () | |
get target ref id More... | |
setTargetObjId ($a_target_obj_id) | |
set target object id More... | |
getTargetObjId () | |
get target obj id More... | |
setTargetType ($a_target_type) | |
set target object type More... | |
getTargetType () | |
get target obj type More... | |
setTriggerRefId ($a_trigger_ref_id) | |
set trigger ref id More... | |
getTriggerRefId () | |
get target ref id More... | |
setTriggerObjId ($a_trigger_obj_id) | |
set trigger object id More... | |
getTriggerObjId () | |
get trigger obj id More... | |
setTriggerType ($a_trigger_type) | |
set trigger object type More... | |
getTriggerType () | |
get trigger obj type More... | |
setOperator ($a_operator) | |
set operator More... | |
getOperator () | |
get operator More... | |
setValue ($a_value) | |
set value More... | |
getValue () | |
get value More... | |
setObligatory ($a_obl) | |
Set obligatory status. More... | |
getObligatory () | |
Get obligatory status. More... | |
setHiddenStatus ($a_status) | |
getHiddenStatus () | |
enableAutomaticValidation ($a_validate=true) | |
enable automated validation More... | |
getOperatorsByTriggerType ($a_type) | |
Get operators by trigger type. More... | |
storeCondition () | |
store new condition in database More... | |
checkExists () | |
updateCondition ($a_id) | |
update condition More... | |
updateHiddenStatus ($a_status) | |
Update hidden status type $ilDB. More... | |
delete ($a_ref_id) | |
delete all trigger and target entries This method is called from ilObject::delete() if an object os removed from trash More... | |
deleteByObjId ($a_obj_id) | |
delete all trigger and target entries This method is called from ilObject::delete() if an object is removed from trash More... | |
deleteCondition ($a_id) | |
delete condition More... | |
Static Public Member Functions | |
static | _isReferenceHandlingOptional ($a_type) |
is reference handling optional More... | |
static | lookupPersistedHiddenStatusByTarget ($a_target_ref_id) |
Lookup persistedhidden status. More... | |
static | _adjustMovedObjectConditions ($a_ref_id) |
In the moment it is not allowed to create preconditions on objects that are located outside of a course. More... | |
static | updateObligatory ($a_id, $a_status) |
Toggle condition obligatory status. More... | |
static | getNumberOfConditionsOfTrigger ($a_trigger_obj_type, $a_trigger_id) |
get all conditions of trigger object More... | |
static | _getPersistedConditionsOfTrigger ($a_trigger_obj_type, $a_trigger_id) |
Get all persisted conditions of trigger object Note: This only gets persisted conditions NOT (dynamic) conditions send by the parent container logic. More... | |
static | _getPersistedConditionsOfTarget ($a_target_ref_id, $a_target_obj_id, $a_target_type="") |
get all persisted conditions of target object More... | |
static | preloadPersistedConditionsForTargetRecords ($a_type, $a_obj_ids) |
Preload conditions for target records. More... | |
static | _getCondition ($a_id) |
static | _checkCondition ($condition, $a_usr_id=0) |
checks wether a single condition is fulfilled every trigger object type must implement a static method _checkCondition($a_operator, $a_value) More... | |
static | getEffectiveOptionalConditionsOfTarget ($a_target_ref_id, $a_target_obj_id, $a_obj_type='') |
Get optional conditions. More... | |
static | getPersistedOptionalConditionsOfTarget ($a_target_ref_id, $a_target_obj_id, $a_obj_type='') |
Get optional conditions. More... | |
static | lookupObligatoryConditionsOfTarget ($a_target_ref_id, $a_target_obj_id) |
Lookup obligatory conditions of target. More... | |
static | calculateEffectiveRequiredTriggers ($a_target_ref_id, $a_target_obj_id, $a_target_obj_type='') |
calculate number of obligatory items More... | |
static | calculatePersistedRequiredTriggers ($a_target_ref_id, $a_target_obj_id, $a_target_obj_type='', $a_force_update=false) |
calculate number of obligatory items More... | |
static | saveNumberOfRequiredTriggers ($a_target_ref_id, $a_target_obj_id, $a_num) |
Save number of obigatory triggers. More... | |
static | _checkAllConditionsOfTarget ($a_target_ref_id, $a_target_id, $a_target_type="", $a_usr_id=0) |
checks wether all conditions of a target object are fulfilled More... | |
static | cloneDependencies ($a_src_ref_id, $a_target_ref_id, $a_copy_id) |
Data Fields | |
const | OPERATOR_PASSED = 'passed' |
const | OPERATOR_FINISHED = 'finished' |
const | OPERATOR_NOT_FINISHED = 'not_finished' |
const | OPERATOR_NOT_MEMBER = 'not_member' |
const | OPERATOR_FAILED = 'failed' |
const | OPERATOR_LP = 'learning_progress' |
const | OPERATOR_ACCREDITED_OR_PASSED = 'accredited_or_passed' |
const | UNIQUE_CONDITIONS = 1 |
const | SHARED_CONDITIONS = 0 |
$db | |
$lng | |
$error_message | |
$target_obj_id | |
$target_ref_id | |
$target_type | |
$trigger_obj_id | |
$trigger_ref_id | |
$trigger_type | |
$operator | |
$value | |
$validation | |
$conditions | |
Static Public Attributes | |
static | $cond_for_target_cache = array() |
static | $cond_target_rows = array() |
Protected Member Functions | |
validate () | |
checkCircle ($a_ref_id, $a_obj_id) | |
Static Protected Member Functions | |
static | _getDistinctTargetRefIds () |
Get all target ref ids. More... | |
static | _deleteTargetConditionsByRefId ($a_target_ref_id) |
Delete conditions by target ref id Note: only conditions on the target type are deleted Conditions on e.g chapters are not handled. More... | |
Private Attributes | |
$obligatory = true | |
$hidden_status = false | |
INTERNAL CLASS: Please do not use in consumer code.
Handles conditions for accesses to different ILIAS objects
A condition consists of four elements:
If a condition is fulfilled for a certain user, (s)he may access the target object. This first implementation handles only one access type per object, which is usually "read" access. A possible future extension may implement different access types.
The condition data is stored in the database table "condition" (Note: This table must not be accessed directly from other classes. The data should be accessed via the interface of class ilCondition.) cond_id INT condition id trigger_obj_type VARCHAR(10) "crs" | "tst" | ... trigger_ref_id INT obj id of trigger object (only exception where this is 0 are currently (5.3) course groupings this might be refactored trigger_obj_id INT obj id of trigger object operator varchar(10 "=", "<", ">", ">=", "<=", "passed", "contains", ... value VARCHAR(10) optional value target_obj_type VARCHAR(10) "lm" | "frm" | "st", "lobj", ... target_obj_id object id of target object target_ref_id reference id of target object
Special current targets (5.3)
Trigger objects are always stored with their object id (if a test has been passed by a user, he doesn't need to repeat it in other contexts. But target objects are usually stored with their reference id if available, otherwise, if they are non-referenced objects (e.g. (survey) questions) they are stored with their object id.
Stefan Meyer 10-08-2004 In addition we store the ref_id of the trigger object to allow the target object to link to the triggered object. But it's not possible to assign two or more linked (same obj_id) triggered objects to a target object
Examples:
Learning module 5 may only be accessed, if test 6 has been passed: trigger_obj_type "tst" trigger_id 6 (object id) trigger_ref_id 117 operator "passed" value target_obj_type "lm" target_id 5 (reference id)
Survey question 10 should only be presented, if survey question 8 is answered with a value greater than 4. trigger_obj_type "qst" trigger_id 8 (question (instance) object id) trigger_ref_id 117 operator ">" value "4" target_obj_type "lm" target_id 10 (question (instance) object id)
Definition at line 79 of file class.ilConditionHandler.php.
ilConditionHandler::__construct | ( | ) |
constructor public
Definition at line 122 of file class.ilConditionHandler.php.
References $DIC, $ilDB, and $lng.
|
static |
In the moment it is not allowed to create preconditions on objects that are located outside of a course.
Therefore, after moving an object: check for parent type 'crs'. if that fails delete preconditions
public
int | reference id of moved object |
Definition at line 217 of file class.ilConditionHandler.php.
References $conditions, $DIC, and $tree.
Referenced by ilSoapObjectAdministration\moveObject(), ilContainerGUI\pasteObject(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), and ilChatroomInstaller\setChatroomSettings().
|
static |
checks wether all conditions of a target object are fulfilled
Definition at line 1200 of file class.ilConditionHandler.php.
References $conditions, $DIC, $ilUser, $tree, _checkCondition(), and ilMemberViewSettings\getInstance().
Referenced by ilObjContentObject\_checkPreconditionsOfPage(), ilContainerObjectiveGUI\addItemDetails(), ilAccess\doConditionCheck(), ilRepositoryExplorerGUI\getChildsOfNode(), ilObjCourseListGUI\initItem(), ilObjGroupReferenceListGUI\initItem(), ilObjCourseReferenceListGUI\initItem(), ilRepositoryExplorer\isClickable(), ilRepositoryExplorerGUI\isNodeClickable(), ilRepositoryExplorer\showChilds(), and ilCourseContentGUI\showStartObjects().
|
static |
checks wether a single condition is fulfilled every trigger object type must implement a static method _checkCondition($a_operator, $a_value)
Definition at line 996 of file class.ilConditionHandler.php.
References $DIC, $ilUser, $location, ilObjCourseGrouping\_checkCondition(), and ilLPStatus\_hasUserCompleted().
Referenced by _checkAllConditionsOfTarget(), ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilInfoScreenGUI\addPreconditionSection(), and ilObjectListGUI\parseConditions().
|
staticprotected |
Delete conditions by target ref id Note: only conditions on the target type are deleted Conditions on e.g chapters are not handled.
public
int | ref id of target |
Definition at line 273 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilRBACTest\testConditions().
|
static |
Definition at line 960 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilConditionHandlerGUI\askDelete(), ilConditionHandlerGUI\edit(), ilConditionHandlerGUI\initFormCondition(), ilRBACTest\testConditions(), and ilConditionHandlerGUI\updateCondition().
|
staticprotected |
Get all target ref ids.
public
Definition at line 249 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilRBACTest\testConditions().
|
static |
get all persisted conditions of target object
int | $a_target_ref_id | |
int | $a_target_obj_id | |
string | $a_target_type |
Definition at line 876 of file class.ilConditionHandler.php.
References $conditions, $DIC, $ilDB, $query, $res, $row, $rows, and ilObject\_lookupType().
Referenced by ilConditionHandlerGUI\__getConditionsOfTarget(), ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGrouping\_getGroupingCourseIds(), ilObjCourseGrouping\_getGroupingItems(), ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), checkCircle(), cloneDependencies(), ilConditionHandlerGUI\listConditions(), ilConditionHandlerGUI\saveObligatoryList(), ilConditionHandlerGUI\saveObligatorySettings(), ilConditionHandlerGUI\showObligatoryForm(), and ilRBACTest\testConditions().
|
static |
Get all persisted conditions of trigger object Note: This only gets persisted conditions NOT (dynamic) conditions send by the parent container logic.
Definition at line 771 of file class.ilConditionHandler.php.
References $c, $conditions, $DIC, $ilDB, $location, $obligatory, $query, $res, $row, $tree, ilObject\_lookupObjId(), ilObject\_lookupType(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGrouping\_getGroupingCourseIds(), ilObjCourseGrouping\_getGroupingItems(), ilObjCourseGrouping\deassign(), ilObjCourseGrouping\getAssignedItems(), and ilRBACTest\testConditions().
|
static |
is reference handling optional
public
string | target type ILIAS obj type |
Definition at line 142 of file class.ilConditionHandler.php.
References $a_type, $DIC, $location, $tree, ilObject\_lookupObjId(), and ilObject\_lookupType().
Referenced by ilConditionHandlerGUI\initFormCondition().
|
static |
calculate number of obligatory items
int | $a_target_ref_id | |
int | $a_target_obj_id |
Definition at line 1109 of file class.ilConditionHandler.php.
References $DIC, $ilDB, and $result.
Referenced by ilInfoScreenGUI\addPreconditionSection(), and ilObjectListGUI\parseConditions().
|
static |
calculate number of obligatory items
int | $a_target_ref_id | |
int | $a_target_obj_id |
Definition at line 1145 of file class.ilConditionHandler.php.
References $DIC, $ilDB, and $result.
Referenced by ilConditionHandlerGUI\saveObligatoryList().
|
protected |
Definition at line 1283 of file class.ilConditionHandler.php.
References _getPersistedConditionsOfTarget(), and getOperator().
Referenced by validate().
ilConditionHandler::checkExists | ( | ) |
Definition at line 618 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, getOperator(), getTargetObjId(), getTargetRefId(), getTriggerObjId(), and getTriggerRefId().
|
static |
Definition at line 1296 of file class.ilConditionHandler.php.
References $conditions, $valid, ilCopyWizardOptions\_getInstance(), _getPersistedConditionsOfTarget(), ilObject\_lookupObjId(), and ilObject\_lookupType().
Referenced by ilObject\cloneDependencies().
ilConditionHandler::delete | ( | $a_ref_id | ) |
ilConditionHandler::deleteByObjId | ( | $a_obj_id | ) |
ilConditionHandler::deleteCondition | ( | $a_id | ) |
delete condition
Definition at line 733 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, and $res.
Referenced by storeCondition().
ilConditionHandler::enableAutomaticValidation | ( | $a_validate = true | ) |
enable automated validation
Definition at line 479 of file class.ilConditionHandler.php.
References $DIC, $name, $t, $type, ilObjUserTracking\_enabledLearningProgress(), getOperatorsByTriggerType(), and ilObjectLP\isSupportedObjectType().
|
static |
Get optional conditions.
int | $a_target_ref_id | |
int | $a_target_obj_id | |
string | $a_obj_type |
Definition at line 1041 of file class.ilConditionHandler.php.
References $conditions.
Referenced by ilInfoScreenGUI\addPreconditionSection(), and ilObjectListGUI\parseConditions().
ilConditionHandler::getErrorMessage | ( | ) |
ilConditionHandler::getHiddenStatus | ( | ) |
Definition at line 470 of file class.ilConditionHandler.php.
References $hidden_status.
Referenced by storeCondition().
|
static |
get all conditions of trigger object
string | $a_trigger_obj_type | |
int | $a_trigger_id |
ilDatabaseException |
Definition at line 754 of file class.ilConditionHandler.php.
References $db, $DIC, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ilScormLP\checkSCORMPreconditions().
ilConditionHandler::getObligatory | ( | ) |
Get obligatory status.
Definition at line 460 of file class.ilConditionHandler.php.
References $obligatory.
Referenced by storeCondition(), and updateCondition().
ilConditionHandler::getOperator | ( | ) |
get operator
Definition at line 426 of file class.ilConditionHandler.php.
References $operator.
Referenced by checkCircle(), checkExists(), storeCondition(), and updateCondition().
ilConditionHandler::getOperatorsByTriggerType | ( | $a_type | ) |
Get operators by trigger type.
string | $a_type |
Definition at line 541 of file class.ilConditionHandler.php.
References $a_type, $DIC, $location, ilObjUserTracking\_enabledLearningProgress(), and ilObjectLP\isSupportedObjectType().
Referenced by enableAutomaticValidation().
|
static |
Get optional conditions.
int | $a_target_ref_id | |
int | $a_target_obj_id | |
string | $a_obj_type |
Definition at line 1063 of file class.ilConditionHandler.php.
References $conditions.
Referenced by ilConditionHandlerGUI\listConditions(), ilConditionHandlerGUI\saveObligatorySettings(), and ilConditionHandlerGUI\showObligatoryForm().
ilConditionHandler::getReferenceHandlingType | ( | ) |
get reference handling type
public
Definition at line 304 of file class.ilConditionHandler.php.
Referenced by storeCondition(), and updateCondition().
ilConditionHandler::getTargetObjId | ( | ) |
get target obj id
Definition at line 346 of file class.ilConditionHandler.php.
References $target_obj_id.
Referenced by checkExists(), and storeCondition().
ilConditionHandler::getTargetRefId | ( | ) |
get target ref id
Definition at line 330 of file class.ilConditionHandler.php.
References $target_ref_id.
Referenced by checkExists(), storeCondition(), updateCondition(), updateHiddenStatus(), and validate().
ilConditionHandler::getTargetType | ( | ) |
get target obj type
Definition at line 362 of file class.ilConditionHandler.php.
References $target_type.
Referenced by storeCondition().
ilConditionHandler::getTriggerObjId | ( | ) |
get trigger obj id
Definition at line 394 of file class.ilConditionHandler.php.
References $trigger_obj_id.
Referenced by checkExists(), and storeCondition().
ilConditionHandler::getTriggerRefId | ( | ) |
get target ref id
Definition at line 378 of file class.ilConditionHandler.php.
References $trigger_ref_id.
Referenced by checkExists(), storeCondition(), and validate().
ilConditionHandler::getTriggerType | ( | ) |
get trigger obj type
Definition at line 410 of file class.ilConditionHandler.php.
References $trigger_type.
Referenced by storeCondition().
ilConditionHandler::getValue | ( | ) |
get value
Definition at line 442 of file class.ilConditionHandler.php.
References $value.
Referenced by storeCondition(), and updateCondition().
|
static |
Lookup obligatory conditions of target.
type | $a_target_ref_id | |
type | $a_target_obj_id |
Definition at line 1084 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilConditionHandlerGUI\showObligatoryForm().
|
static |
Lookup persistedhidden status.
int | $a_target_ref_id |
Definition at line 192 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilConditionHandlerGUI\assign(), and ilConditionHandlerGUI\showObligatoryForm().
|
static |
Preload conditions for target records.
Definition at line 936 of file class.ilConditionHandler.php.
References $a_type, $DIC, $ilDB, $res, $row, and $rows.
Referenced by ilObjectListGUIPreloader\preload().
|
static |
Save number of obigatory triggers.
int | $a_target_ref_id | |
int | $a_target_obj_id |
Definition at line 1183 of file class.ilConditionHandler.php.
References $DIC, $ilDB, and $query.
Referenced by ilConditionHandlerGUI\saveObligatorySettings().
ilConditionHandler::setErrorMessage | ( | $a_msg | ) |
Definition at line 310 of file class.ilConditionHandler.php.
Referenced by validate().
ilConditionHandler::setHiddenStatus | ( | $a_status | ) |
Definition at line 465 of file class.ilConditionHandler.php.
ilConditionHandler::setObligatory | ( | $a_obl | ) |
Set obligatory status.
bool | $a_obl |
Definition at line 451 of file class.ilConditionHandler.php.
ilConditionHandler::setOperator | ( | $a_operator | ) |
set operator
Definition at line 418 of file class.ilConditionHandler.php.
ilConditionHandler::setReferenceHandlingType | ( | $a_type | ) |
set reference handling type
int | public |
Definition at line 293 of file class.ilConditionHandler.php.
References $a_type.
ilConditionHandler::setTargetObjId | ( | $a_target_obj_id | ) |
set target object id
Definition at line 338 of file class.ilConditionHandler.php.
ilConditionHandler::setTargetRefId | ( | $a_target_ref_id | ) |
set target ref id
Definition at line 322 of file class.ilConditionHandler.php.
ilConditionHandler::setTargetType | ( | $a_target_type | ) |
set target object type
Definition at line 354 of file class.ilConditionHandler.php.
ilConditionHandler::setTriggerObjId | ( | $a_trigger_obj_id | ) |
set trigger object id
Definition at line 386 of file class.ilConditionHandler.php.
ilConditionHandler::setTriggerRefId | ( | $a_trigger_ref_id | ) |
set trigger ref id
Definition at line 370 of file class.ilConditionHandler.php.
ilConditionHandler::setTriggerType | ( | $a_trigger_type | ) |
set trigger object type
Definition at line 402 of file class.ilConditionHandler.php.
ilConditionHandler::setValue | ( | $a_value | ) |
set value
Definition at line 434 of file class.ilConditionHandler.php.
ilConditionHandler::storeCondition | ( | ) |
store new condition in database
Definition at line 584 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, deleteCondition(), getHiddenStatus(), getObligatory(), getOperator(), getReferenceHandlingType(), getTargetObjId(), getTargetRefId(), getTargetType(), getTriggerObjId(), getTriggerRefId(), getTriggerType(), getValue(), and validate().
ilConditionHandler::updateCondition | ( | $a_id | ) |
update condition
Definition at line 637 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, getObligatory(), getOperator(), getReferenceHandlingType(), getTargetRefId(), and getValue().
ilConditionHandler::updateHiddenStatus | ( | $a_status | ) |
Update hidden status type $ilDB.
type | $a_target_ref_id | |
type | $a_status |
Definition at line 662 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, and getTargetRefId().
|
static |
Toggle condition obligatory status.
int | $a_id | |
bool | $a_status |
Definition at line 681 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilConditionHandlerGUI\saveObligatoryList(), and ilConditionHandlerGUI\saveObligatorySettings().
|
protected |
Definition at line 1247 of file class.ilConditionHandler.php.
References $DIC, $ilDB, $query, $res, checkCircle(), ilObjectFactory\getInstanceByRefId(), getTargetRefId(), getTriggerRefId(), and setErrorMessage().
Referenced by storeCondition().
|
static |
Definition at line 114 of file class.ilConditionHandler.php.
|
static |
Definition at line 115 of file class.ilConditionHandler.php.
ilConditionHandler::$conditions |
Definition at line 113 of file class.ilConditionHandler.php.
Referenced by _adjustMovedObjectConditions(), _checkAllConditionsOfTarget(), _getPersistedConditionsOfTarget(), _getPersistedConditionsOfTrigger(), cloneDependencies(), getEffectiveOptionalConditionsOfTarget(), and getPersistedOptionalConditionsOfTarget().
ilConditionHandler::$db |
Definition at line 93 of file class.ilConditionHandler.php.
Referenced by getNumberOfConditionsOfTrigger().
ilConditionHandler::$error_message |
Definition at line 97 of file class.ilConditionHandler.php.
Referenced by getErrorMessage().
|
private |
Definition at line 111 of file class.ilConditionHandler.php.
Referenced by getHiddenStatus().
ilConditionHandler::$lng |
Definition at line 94 of file class.ilConditionHandler.php.
Referenced by __construct().
|
private |
Definition at line 110 of file class.ilConditionHandler.php.
Referenced by _getPersistedConditionsOfTrigger(), and getObligatory().
ilConditionHandler::$operator |
Definition at line 105 of file class.ilConditionHandler.php.
Referenced by getOperator().
ilConditionHandler::$target_obj_id |
Definition at line 99 of file class.ilConditionHandler.php.
Referenced by getTargetObjId().
ilConditionHandler::$target_ref_id |
Definition at line 100 of file class.ilConditionHandler.php.
Referenced by getTargetRefId().
ilConditionHandler::$target_type |
Definition at line 101 of file class.ilConditionHandler.php.
Referenced by getTargetType().
ilConditionHandler::$trigger_obj_id |
Definition at line 102 of file class.ilConditionHandler.php.
Referenced by getTriggerObjId().
ilConditionHandler::$trigger_ref_id |
Definition at line 103 of file class.ilConditionHandler.php.
Referenced by getTriggerRefId().
ilConditionHandler::$trigger_type |
Definition at line 104 of file class.ilConditionHandler.php.
Referenced by getTriggerType().
ilConditionHandler::$validation |
Definition at line 107 of file class.ilConditionHandler.php.
ilConditionHandler::$value |
Definition at line 106 of file class.ilConditionHandler.php.
Referenced by getValue().
const ilConditionHandler::OPERATOR_ACCREDITED_OR_PASSED = 'accredited_or_passed' |
Definition at line 87 of file class.ilConditionHandler.php.
Referenced by ilConditionOperatorFactory\accreditedOrPassed(), ilObjStudyProgrammeAccess\checkCondition(), and ilObjStudyProgrammeAccess\getConditionOperators().
const ilConditionHandler::OPERATOR_FAILED = 'failed' |
Definition at line 85 of file class.ilConditionHandler.php.
Referenced by ilObjIndividualAssessmentAccess\checkCondition(), ilObjExerciseAccess\checkCondition(), ilObjSAHSLearningModuleAccess\checkCondition(), ilObjTestAccess\checkCondition(), ilConditionOperatorFactory\failed(), ilObjExerciseAccess\getConditionOperators(), ilObjSAHSLearningModuleAccess\getConditionOperators(), ilObjIndividualAssessmentAccess\getConditionOperators(), and ilObjTestAccess\getConditionOperators().
const ilConditionHandler::OPERATOR_FINISHED = 'finished' |
Definition at line 82 of file class.ilConditionHandler.php.
Referenced by ilObjSAHSLearningModuleAccess\checkCondition(), ilObjSurveyAccess\checkCondition(), ilObjTestAccess\checkCondition(), ilConditionOperatorFactory\finished(), ilObjSAHSLearningModuleAccess\getConditionOperators(), ilObjSurveyAccess\getConditionOperators(), ilObjTestAccess\getConditionOperators(), ilContainerObjectiveGUI\getMainContent(), ilCourseStart\isFullfilled(), and ilContainerObjectiveGUI\renderObjective().
const ilConditionHandler::OPERATOR_LP = 'learning_progress' |
Definition at line 86 of file class.ilConditionHandler.php.
Referenced by ilConditionOperatorFactory\learningProgress(), and ilConditionHandlerGUI\translateOperator().
const ilConditionHandler::OPERATOR_NOT_FINISHED = 'not_finished' |
Definition at line 83 of file class.ilConditionHandler.php.
Referenced by ilObjTestAccess\checkCondition(), ilObjTestAccess\getConditionOperators(), and ilConditionOperatorFactory\notFinished().
const ilConditionHandler::OPERATOR_NOT_MEMBER = 'not_member' |
Definition at line 84 of file class.ilConditionHandler.php.
Referenced by ilConditionOperatorFactory\notMember().
const ilConditionHandler::OPERATOR_PASSED = 'passed' |
Definition at line 81 of file class.ilConditionHandler.php.
Referenced by ilObjIndividualAssessmentAccess\checkCondition(), ilObjExerciseAccess\checkCondition(), ilObjCourseAccess\checkCondition(), ilObjTestAccess\checkCondition(), ilObjExerciseAccess\getConditionOperators(), ilObjIndividualAssessmentAccess\getConditionOperators(), ilObjCourseAccess\getConditionOperators(), ilObjTestAccess\getConditionOperators(), and ilConditionOperatorFactory\passed().
const ilConditionHandler::SHARED_CONDITIONS = 0 |
Definition at line 90 of file class.ilConditionHandler.php.
Referenced by ilConditionHandlerGUI\initFormCondition().
const ilConditionHandler::UNIQUE_CONDITIONS = 1 |
Definition at line 89 of file class.ilConditionHandler.php.
Referenced by ilConditionHandlerGUI\assign(), ilConditionHandlerGUI\initFormCondition(), and ilConditionHandlerGUI\updateCondition().