ILIAS
eassessment Revision 61809
|
Class ilLPStatusFactory Creates status class instances for learning progress modes of an object. More...
Public Member Functions | |
_getClassById ($a_obj_id, $a_mode=NULL) | |
_getClassByIdAndType ($a_obj_id, $a_type) | |
& | _getInstance ($a_obj_id, $a_mode=NULL) |
Class ilLPStatusFactory Creates status class instances for learning progress modes of an object.
E.g obj_id of course returns an instance of ilLPStatusManual, ilLPStatusObjectives ...
Definition at line 17 of file class.ilLPStatusFactory.php.
ilLPStatusFactory::_getClassById | ( | $a_obj_id, | |
$a_mode = NULL |
|||
) |
Definition at line 19 of file class.ilLPStatusFactory.php.
References $type, ilLPObjSettings\__getDefaultMode(), ilLPObjSettings\_lookupMode(), ilObject\_lookupType(), exit, LP_MODE_COLLECTION, LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_SCORM, LP_MODE_SCORM_PACKAGE, LP_MODE_TEST_FINISHED, LP_MODE_TEST_PASSED, LP_MODE_TLT, LP_MODE_UNDEFINED, and LP_MODE_VISITS.
Referenced by ilLPStatusWrapper\_determineStatus(), ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), ilLPStatusWrapper\_getNotAttempted(), ilLPStatusWrapper\_getStatusInfo(), ilLPStatusWrapper\_getTypicalLearningTime(), ilLPStatusWrapper\_refreshStatus(), ilLPStatusWrapper\_setDirty(), ilLPStatusWrapper\_updateStatus(), and ilLPStatus\checkStatusForObject().
ilLPStatusFactory::_getClassByIdAndType | ( | $a_obj_id, | |
$a_type | |||
) |
Definition at line 93 of file class.ilLPStatusFactory.php.
References exit.
Referenced by ilLPStatusWrapper\_getCompletedByType(), ilLPStatusWrapper\_getFailedByType(), ilLPStatusWrapper\_getInProgressByType(), ilLPStatusWrapper\_getNotAttemptedByType(), and ilLPStatusWrapper\_getStatusInfoByType().
& ilLPStatusFactory::_getInstance | ( | $a_obj_id, | |
$a_mode = NULL |
|||
) |
Definition at line 108 of file class.ilLPStatusFactory.php.
References $type, ilLPObjSettings\__getDefaultMode(), ilLPObjSettings\_lookupMode(), ilObject\_lookupType(), exit, LP_MODE_COLLECTION, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_SCORM, LP_MODE_TEST_FINISHED, LP_MODE_TEST_PASSED, LP_MODE_TLT, LP_MODE_UNDEFINED, and LP_MODE_VISITS.