ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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 Protected Member Functions | |
static | includeClass ($a_class) |
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 19 of file class.ilLPStatusFactory.php.
ilLPStatusFactory::_getClassById | ( | $a_obj_id, | |
$a_mode = NULL |
|||
) |
Definition at line 23 of file class.ilLPStatusFactory.php.
References exit, ilLPObjSettings\getClassMap(), ilObjectLP\getInstance(), and ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), ilLPStatusWrapper\_getNotAttempted(), ilLPStatusWrapper\_getStatusInfo(), ilLPStatusWrapper\_getTypicalLearningTime(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilLMExplorerGUI\checkLPIcon(), ilTrQuery\getParticipantsForObject(), ilLearningProgressGUI\initCollectionManualForm(), ilLearningProgressGUI\showtlt(), ilTrackingTest\testLPMarks(), and ilLearningProgressGUI\updateManual().
ilLPStatusFactory::_getClassByIdAndType | ( | $a_obj_id, | |
$a_type | |||
) |
Definition at line 77 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 92 of file class.ilLPStatusFactory.php.
References exit, ilLPObjSettings\getClassMap(), ilObjectLP\getInstance(), and ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by ilLPStatusWrapper\_determineStatus(), ilLPStatusWrapper\_refreshStatus(), ilLPStatusWrapper\_setDirty(), ilLPStatusWrapper\_updateStatus(), ilLPStatus\checkStatusForObject(), ilTrQuery\getObjectIds(), and ilTestLP\resetCustomLPDataForUserIds().
|
staticprotected |
|
staticprivate |
Definition at line 21 of file class.ilLPStatusFactory.php.