ILIAS
Release_4_1_x_branch Revision 61804
|
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) |
Static Private Attributes | |
static | $class_by_obj_id = array() |
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 21 of file class.ilLPStatusFactory.php.
References 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 106 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 121 of file class.ilLPStatusFactory.php.
References 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.
|
staticprivate |
Definition at line 19 of file class.ilLPStatusFactory.php.