|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilLPStatusWrapper This class is wrapper for all ilLPStatus classes. More...
Collaboration diagram for ilLPStatusWrapper:Public Member Functions | |
| _getCountNotAttempted ($a_obj_id) | |
| Static function to read the number of user who have the status 'not_attempted'. More... | |
| _getNotAttempted ($a_obj_id) | |
| Static function to read the number of user who have the status 'not_attempted'. More... | |
| _getCountInProgress ($a_obj_id) | |
| Static function to read the number of user who have the status 'in_progress'. More... | |
| _getInProgress ($a_obj_id) | |
| Static function to read users who have the status 'in_progress'. More... | |
| _getCountCompleted ($a_obj_id) | |
| Static function to read the number of user who have the status 'completed'. More... | |
| _getCompleted ($a_obj_id) | |
| Static function to read the users who have the status 'completed'. More... | |
| _getCountFailed ($a_obj_id) | |
| Static function to read the number of user who have the status 'failed'. More... | |
| _getFailed ($a_obj_id) | |
| Static function to read the users who have the status 'completed'. More... | |
| _getStatusInfo ($a_obj_id) | |
| Reads informations about the object e.g test results, tlt, number of visits. More... | |
| _getTypicalLearningTime ($a_obj_id) | |
| Reads Typical learning time. More... | |
| _getCountNotAttemptedByType ($a_obj_id, $a_type) | |
| Static function to read the number of user who have the status 'not_attempted'. More... | |
| _getNotAttemptedByType ($a_obj_id, $a_type) | |
| _getCountInProgressByType ($a_obj_id, $a_type) | |
| _getInProgressByType ($a_obj_id, $a_type) | |
| _getCountCompletedByType ($a_obj_id, $a_type) | |
| _getCompletedByType ($a_obj_id, $a_type) | |
| _getCountFailedByType ($a_obj_id, $a_type) | |
| _getFailedByType ($a_obj_id, $a_type) | |
| _getStatusInfoByType ($a_obj_id, $a_type) | |
| _setDirty ($a_obj_id) | |
| Set dirty. More... | |
| _refreshStatus ($a_obj_id, $a_users=null) | |
| Set dirty. More... | |
Static Public Member Functions | |
| static | _resetInfoCaches ($a_obj_id) |
| static | _updateStatus ($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_no_raise=false, $a_force_raise=false) |
| Update status. More... | |
| static | _determineStatus ($a_obj_id, $a_usr_id) |
| Determine status. More... | |
| static | _removeStatusCache ($a_obj_id, $a_usr_id) |
| static | _lookupCompletedForObject ($a_obj_id, $a_user_ids=null) |
| Get completed users for object. More... | |
| static | _lookupFailedForObject ($a_obj_id, $a_user_ids=null) |
| Get failed users for object. More... | |
| static | _lookupInProgressForObject ($a_obj_id, $a_user_ids=null) |
| Get in progress users for object. More... | |
Static Private Attributes | |
| static | $status_cache = array() |
| static | $info_cache = array() |
| static | $failed_cache = array() |
| static | $completed_cache = array() |
| static | $in_progress_cache = array() |
| static | $not_attempted_cache = array() |
Class ilLPStatusWrapper This class is wrapper for all ilLPStatus classes.
It caches all function calls using the obj_id as key TODO: substitute all ilStatus calls with this functions
Definition at line 18 of file class.ilLPStatusWrapper.php.
|
static |
Determine status.
return
Definition at line 314 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getInstance().
Referenced by ilLPStatusCollection\determineGroupingStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getCompleted | ( | $a_obj_id | ) |
Static function to read the users who have the status 'completed'.
Definition at line 88 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilLPStatusCollection\_getCompleted(), _getCountCompleted(), ilLPStatusCollection\_getInProgress(), ilLPStatusCollectionManual\_getInProgress(), ilLPStatusCollectionTLT\_getInProgress(), ilLPStatusExerciseReturned\_getInProgress(), ilLPStatusManual\_getInProgress(), ilLPStatusManualByTutor\_getInProgress(), ilLPStatusQuestions\_getInProgress(), ilLPStatusSCORM\_getInProgress(), ilLPStatusTestPassed\_getInProgress(), ilLPStatusCollection\_getNotAttempted(), ilLPStatusEvent\_getNotAttempted(), ilLPStatusExerciseReturned\_getNotAttempted(), ilLPStatusManualByTutor\_getNotAttempted(), ilLPStatusObjectives\_getNotAttempted(), ilSoapLearningProgressAdministration\applyProgressFilter(), ilLPStatusSCORM\refreshStatus(), ilLPStatusSCORMPackage\refreshStatus(), and ilLPStatus\refreshStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getCompletedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 220 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassByIdAndType().
Referenced by _getCountCompletedByType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getCountCompleted | ( | $a_obj_id | ) |
Static function to read the number of user who have the status 'completed'.
Definition at line 80 of file class.ilLPStatusWrapper.php.
References _getCompleted().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountCompletedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 215 of file class.ilLPStatusWrapper.php.
References _getCompletedByType().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountFailed | ( | $a_obj_id | ) |
Static function to read the number of user who have the status 'failed'.
Definition at line 103 of file class.ilLPStatusWrapper.php.
References _getFailed().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountFailedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 235 of file class.ilLPStatusWrapper.php.
References _getFailedByType().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountInProgress | ( | $a_obj_id | ) |
Static function to read the number of user who have the status 'in_progress'.
Definition at line 54 of file class.ilLPStatusWrapper.php.
References _getInProgress().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountInProgressByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 195 of file class.ilLPStatusWrapper.php.
References _getInProgressByType().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountNotAttempted | ( | $a_obj_id | ) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 30 of file class.ilLPStatusWrapper.php.
References _getNotAttempted().
Here is the call graph for this function:| ilLPStatusWrapper::_getCountNotAttemptedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 175 of file class.ilLPStatusWrapper.php.
References _getNotAttemptedByType().
Here is the call graph for this function:| ilLPStatusWrapper::_getFailed | ( | $a_obj_id | ) |
Static function to read the users who have the status 'completed'.
Definition at line 111 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilLPStatusCollection\_getCompleted(), ilLPStatusSCORM\_getCompleted(), _getCountFailed(), ilLPStatusCollection\_getFailed(), ilLPStatusCollection\_getInProgress(), ilLPStatusExerciseReturned\_getInProgress(), ilLPStatusSCORM\_getInProgress(), ilLPStatusTestPassed\_getInProgress(), ilLPStatusCollection\_getNotAttempted(), ilLPStatusExerciseReturned\_getNotAttempted(), ilLPStatusObjectives\_getNotAttempted(), ilSoapLearningProgressAdministration\applyProgressFilter(), ilLPStatusSCORM\refreshStatus(), ilLPStatusSCORMPackage\refreshStatus(), and ilLPStatus\refreshStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getFailedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 240 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassByIdAndType().
Referenced by _getCountFailedByType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getInProgress | ( | $a_obj_id | ) |
Static function to read users who have the status 'in_progress'.
Definition at line 62 of file class.ilLPStatusWrapper.php.
References $ilBench, and ilLPStatusFactory\_getClassById().
Referenced by _getCountInProgress(), ilLPStatusCollection\_getInProgress(), ilLPStatusCollection\_getNotAttempted(), ilLPStatusEvent\_getNotAttempted(), ilLPStatusExerciseReturned\_getNotAttempted(), ilLPStatusManualByTutor\_getNotAttempted(), ilLPStatusObjectives\_getNotAttempted(), ilSoapLearningProgressAdministration\applyProgressFilter(), ilLPStatusSCORM\refreshStatus(), ilLPStatusSCORMPackage\refreshStatus(), and ilLPStatus\refreshStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getInProgressByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 200 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassByIdAndType().
Referenced by _getCountInProgressByType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getNotAttempted | ( | $a_obj_id | ) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 38 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by _getCountNotAttempted(), ilLPStatusTestPassed\_getInProgress(), and ilLPStatus\refreshStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getNotAttemptedByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 180 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassByIdAndType().
Referenced by _getCountNotAttemptedByType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getStatusInfo | ( | $a_obj_id | ) |
Reads informations about the object e.g test results, tlt, number of visits.
Definition at line 128 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilLPStatusCollectionManual\_getCompleted(), ilLPStatusCollectionTLT\_getCompleted(), ilLPStatusEvent\_getCompleted(), ilLPStatusObjectives\_getCompleted(), ilLPStatusSCORM\_getCompleted(), ilLPStatusSCORMPackage\_getCompleted(), ilLPStatusTestPassed\_getCompleted(), ilLPStatusTypicalLearningTime\_getCompleted(), ilLPStatusVisits\_getCompleted(), ilLPStatusObjectives\_getFailed(), ilLPStatusSCORM\_getFailed(), ilLPStatusSCORMPackage\_getFailed(), ilLPStatusTestPassed\_getFailed(), ilLPStatusCollectionManual\_getInProgress(), ilLPStatusCollectionTLT\_getInProgress(), ilLPStatusEvent\_getInProgress(), ilLPStatusObjectives\_getInProgress(), ilLPStatusSCORM\_getInProgress(), ilLPStatusSCORMPackage\_getInProgress(), ilLPStatusTypicalLearningTime\_getInProgress(), ilLPStatusVisits\_getInProgress(), ilLPStatusEvent\_getNotAttempted(), ilLPStatusTestPassed\_getNotAttempted(), ilLPStatusCollection\_getTypicalLearningTime(), ilLPStatusTypicalLearningTime\determineStatus(), ilLPStatusVisits\determineStatus(), ilTrQuery\getSCOsStatusForUser(), and ilTrQuery\getSubItemsStatusForUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_getStatusInfoByType | ( | $a_obj_id, | |
| $a_type | |||
| ) |
Definition at line 255 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassByIdAndType().
Here is the call graph for this function:| ilLPStatusWrapper::_getTypicalLearningTime | ( | $a_obj_id | ) |
Reads Typical learning time.
Mode collection is recursive for all assigned items
Definition at line 152 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilLPStatusCollection\_getTypicalLearningTime().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get completed users for object.
| int | $a_obj_id | |
| array | $a_user_ids |
Definition at line 341 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilObjCourseGUI\fetchPrintMemberData(), ilLPCronObjectStatistics\gatherCourseLPData(), ilObjCourseGUI\readMemberData(), ilObjGroupGUI\readMemberData(), ilBasicSkill\updateAllUserSkillLevels(), and ilBasicSkill\updateSkillLevelsByTriggerRef().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get failed users for object.
| int | $a_obj_id | |
| array | $a_user_ids |
Definition at line 354 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilObjCourseGUI\fetchPrintMemberData(), ilLPCronObjectStatistics\gatherCourseLPData(), ilObjCourseGUI\readMemberData(), and ilObjGroupGUI\readMemberData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get in progress users for object.
| int | $a_obj_id | |
| array | $a_user_ids |
Definition at line 367 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getClassById().
Referenced by ilObjCourseGUI\fetchPrintMemberData(), ilLPCronObjectStatistics\gatherCourseLPData(), ilObjCourseGUI\readMemberData(), and ilObjGroupGUI\readMemberData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPStatusWrapper::_refreshStatus | ( | $a_obj_id, | |
$a_users = null |
|||
| ) |
Set dirty.
| integer | object id |
| array | user ids |
Definition at line 302 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getInstance().
Referenced by ilCourseObjective\_deleteAll(), ilLOEditorGUI\activateObjectives(), ilCourseObjective\add(), ilLPListOfSettingsGUI\assign(), ilLOEditorGUI\deactivateObjectives(), ilLPListOfSettingsGUI\deassign(), ilCourseObjective\delete(), ilExerciseMembers\delete(), ilAICCCourse\delete(), ilAICCUnit\delete(), ilObjAICCLearningModule\delete(), ilSCORMItem\delete(), ilLOEditorGUI\deleteObjectives(), ilLPObjSettings\doLPRefresh(), ilLPListOfSettingsGUI\groupMaterials(), ilObjectLP\handleMove(), ilObjSCORMLearningModule\importRaw(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilLPListOfSettingsGUI\releaseMaterials(), ilSCORM13Package\removeCMIData(), ilLPListOfSettingsGUI\saveObligatoryMaterials(), ilConditionHandlerGUI\updateCondition(), ilObjectLP\updateParentCollections(), and ilLPListOfSettingsGUI\updateTLT().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 329 of file class.ilLPStatusWrapper.php.
Referenced by ilLPStatus\writeStatus().
Here is the caller graph for this function:
|
static |
Definition at line 140 of file class.ilLPStatusWrapper.php.
| ilLPStatusWrapper::_setDirty | ( | $a_obj_id | ) |
Set dirty.
| integer | object id |
Definition at line 290 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getInstance().
Here is the call graph for this function:
|
static |
Update status.
return
Definition at line 276 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory\_getInstance().
Referenced by ilCourseObjectiveResult\__updatePassed(), ilLearningProgressBaseGUI\__updateUser(), ilObjSCORMTracking\_insertTrackData(), ilLPStatus\_lookupStatus(), ilLPStatus\_lookupStatusChanged(), ilEventParticipants\_register(), ilLPStatusCollectionManual\_setObjectStatus(), ilEventParticipants\_unregister(), ilEventParticipants\_updateParticipation(), ilExerciseMembers\_writeReturned(), ilExerciseMembers\_writeStatus(), ilExerciseMembers\assignMember(), ilObjSCORM2004LearningModuleGUI\confirmedDeleteTracking(), ilExerciseMembers\deassignMember(), ilObjSCORMLearningModule\decreaseAttemptsForUser(), ilObjSCORM2004LearningModule\deleteTrackingDataOfUsers(), ilObjSCORMLearningModule\deleteTrackingDataOfUsers(), assFileUpload\handleSubmission(), ilExerciseMembers\ilClone(), ilSCORMPresentationGUI\increase_attemptAndsave_module_version(), ilTestSession\increaseTestPass(), ilLPStatus\refreshStatus(), ilCourseObjectiveResult\reset(), ilObjectLP\resetLPDataForUserIds(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilInfoScreenGUI\saveProgress(), ilTestSession\saveToDb(), ilTestSessionDynamicQuestionSet\saveToDb(), ilLPStatus\setInProgressIfNotAttempted(), ilObjSCORMTracking\store(), ilObjCourse\syncMembersStatusWithLP(), ilLMTracker\trackAccess(), ilObjCourseGUI\updateLPFromStatus(), ilLOTestQuestionAdapter\updateQuestionResult(), ilEventParticipants\updateUser(), and ilLPStatus\writeStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 23 of file class.ilLPStatusWrapper.php.
|
staticprivate |
Definition at line 22 of file class.ilLPStatusWrapper.php.
|
staticprivate |
Definition at line 24 of file class.ilLPStatusWrapper.php.
|
staticprivate |
Definition at line 21 of file class.ilLPStatusWrapper.php.
|
staticprivate |
Definition at line 25 of file class.ilLPStatusWrapper.php.
|
staticprivate |
Definition at line 20 of file class.ilLPStatusWrapper.php.