ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilLPStatusFactory Creates status class instances for learning progress modes of an object. More...
Static Public Member Functions | |
static | _getClassById ($a_obj_id, $a_mode=null) |
static | _getClassByIdAndType ($a_obj_id, $a_type) |
static | _getInstance ($a_obj_id, $a_mode=null) |
Static Protected Member Functions | |
static | includeClass ($a_class) |
Private Member Functions | |
__construct () | |
ilLPStatusFactory constructor. More... | |
getLogger () | |
Static Private Member Functions | |
static | getFactoryInstance () |
Private Attributes | |
$logger | |
Static Private Attributes | |
static | $instance |
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 14 of file class.ilLPStatusFactory.php.
|
private |
ilLPStatusFactory constructor.
Definition at line 45 of file class.ilLPStatusFactory.php.
References $DIC.
|
static |
$a_obj_id | ||
null | $a_mode |
ilInvalidLPStatusException |
Definition at line 66 of file class.ilLPStatusFactory.php.
References $factory, $message, _getClassById(), ilLogLevel\ERROR, ilLPObjSettings\getClassMap(), getFactoryInstance(), ilObjectLP\getInstance(), includeClass(), and ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by _getClassById(), 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().
|
static |
$a_obj_id | |
$a_type |
ilInvalidLPStatusException |
Definition at line 120 of file class.ilLPStatusFactory.php.
References $factory, $message, ilLogLevel\ERROR, getFactoryInstance(), and includeClass().
Referenced by ilLPStatusWrapper\_getCompletedByType(), ilLPStatusWrapper\_getFailedByType(), ilLPStatusWrapper\_getInProgressByType(), ilLPStatusWrapper\_getNotAttemptedByType(), and ilLPStatusWrapper\_getStatusInfoByType().
|
static |
$a_obj_id | ||
null | $a_mode |
ilInvalidLPStatusException |
Definition at line 142 of file class.ilLPStatusFactory.php.
References $factory, $message, _getInstance(), ilLogLevel\ERROR, ilLPObjSettings\getClassMap(), getFactoryInstance(), ilObjectLP\getInstance(), includeClass(), and ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by ilLPStatusWrapper\_determineStatus(), _getInstance(), ilLPStatusWrapper\_refreshStatus(), ilLPStatusWrapper\_setDirty(), ilLPStatusWrapper\_updateStatus(), ilLPStatus\checkStatusForObject(), ilTrQuery\getObjectIds(), and ilTestLP\resetCustomLPDataForUserIds().
|
staticprivate |
Definition at line 33 of file class.ilLPStatusFactory.php.
References $instance.
Referenced by _getClassById(), _getClassByIdAndType(), and _getInstance().
|
private |
Definition at line 55 of file class.ilLPStatusFactory.php.
References $logger.
|
staticprotected |
Definition at line 106 of file class.ilLPStatusFactory.php.
Referenced by _getClassById(), _getClassByIdAndType(), and _getInstance().
|
staticprivate |
Definition at line 28 of file class.ilLPStatusFactory.php.
|
staticprivate |
Definition at line 19 of file class.ilLPStatusFactory.php.
Referenced by getFactoryInstance().
|
private |
Definition at line 24 of file class.ilLPStatusFactory.php.
Referenced by getLogger().