Public Member Functions | |
_getCountNotAttempted ($a_obj_id) | |
Static function to read the number of user who have the status 'not_attempted'. | |
_getNotAttempted ($a_obj_id) | |
Static function to read the number of user who have the status 'not_attempted'. | |
_getCountInProgress ($a_obj_id) | |
Static function to read the number of user who have the status 'in_progress'. | |
_getInProgress ($a_obj_id) | |
Static function to read users who have the status 'in_progress'. | |
_getCountCompleted ($a_obj_id) | |
Static function to read the number of user who have the status 'completed'. | |
_getCompleted ($a_obj_id) | |
Static function to read the users who have the status 'completed'. | |
_getCountFailed ($a_obj_id) | |
Static function to read the number of user who have the status 'failed'. | |
_getFailed ($a_obj_id) | |
Static function to read the users who have the status 'completed'. | |
_getStatusInfo ($a_obj_id) | |
Reads informations about the object e.g test results, tlt, number of visits. | |
_getTypicalLearningTime ($a_obj_id) | |
Reads Typical learning time. | |
_getCountNotAttemptedByType ($a_obj_id, $a_type) | |
Static function to read the number of user who have the status 'not_attempted'. | |
_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) |
Definition at line 41 of file class.ilLPStatusWrapper.php.
ilLPStatusWrapper::_getCompleted | ( | $ | 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 ilObjCourseGUI::__readMemberData(), ilLearningProgressBaseGUI::__readStatus(), ilLPObjectItemListGUI::__readUserStatus(), ilLPObjectItemListGUI::__readUserStatusInfo(), ilLPListOfObjectsGUI::__showEditUser(), ilPDFPresentation::__showItems(), ilLPListOfObjectsGUI::__showUsersList(), ilConditionHandler::_checkCondition(), _getCountCompleted(), ilLPStatusTestPassed::_getInProgress(), ilLPStatusSCORM::_getInProgress(), ilLPStatusExerciseReturned::_getInProgress(), ilLPStatusCollection::_getInProgress(), ilLPStatusObjectives::_getNotAttempted(), ilLPStatusManual::_getNotAttempted(), ilLPStatusExerciseReturned::_getNotAttempted(), ilLPStatusCollection::_getNotAttempted(), ilTimingCache::_showWarning(), and ilCourseStart::isFullfilled().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func(array($class,'_getCompleted'),$a_obj_id); return $cache[$a_obj_id]; }
ilLPStatusWrapper::_getCompletedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 239 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassByIdAndType().
Referenced by ilLPEventListGUI::__readUserStatus(), ilLPStatusCollection::_getCompleted(), _getCountCompletedByType(), ilLPStatusCollection::_getInProgress(), and ilLPStatusEvent::_getNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id.'_'.$a_type])) { return $cache[$a_obj_id.'_'.$a_type]; } $class = ilLPStatusFactory::_getClassByIdAndType($a_obj_id,$a_type); $cache[$a_obj_id.'_'.$a_type] = call_user_func(array($class,'_getCompleted'),$a_obj_id); return $cache[$a_obj_id.'_'.$a_type]; }
ilLPStatusWrapper::_getCountCompleted | ( | $ | a_obj_id | ) |
Static function to read the number of user who have the status 'completed'.
Definition at line 103 of file class.ilLPStatusWrapper.php.
References _getCompleted().
Referenced by ilLPItemListGUI::renderObjectList(), and ilLPItemListGUI::renderObjectListFO().
{ return count(ilLPStatusWrapper::_getCompleted($a_obj_id)); }
ilLPStatusWrapper::_getCountCompletedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 235 of file class.ilLPStatusWrapper.php.
References _getCompletedByType().
{ return count(ilLPStatusWrapper::_getCompletedByType($a_obj_id,$a_type)); }
ilLPStatusWrapper::_getCountFailed | ( | $ | a_obj_id | ) |
Static function to read the number of user who have the status 'failed'.
Definition at line 129 of file class.ilLPStatusWrapper.php.
References _getFailed().
Referenced by ilLPItemListGUI::renderObjectList(), and ilLPItemListGUI::renderObjectListFO().
{ return count(ilLPStatusWrapper::_getFailed($a_obj_id)); }
ilLPStatusWrapper::_getCountFailedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 252 of file class.ilLPStatusWrapper.php.
References _getFailedByType().
{ return count(ilLPStatusWrapper::_getFailedByType($a_obj_id,$a_type)); }
ilLPStatusWrapper::_getCountInProgress | ( | $ | a_obj_id | ) |
Static function to read the number of user who have the status 'in_progress'.
Definition at line 74 of file class.ilLPStatusWrapper.php.
References _getInProgress().
Referenced by ilLPItemListGUI::renderObjectList(), and ilLPItemListGUI::renderObjectListFO().
{ return count(ilLPStatusWrapper::_getInProgress($a_obj_id)); }
ilLPStatusWrapper::_getCountInProgressByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 216 of file class.ilLPStatusWrapper.php.
References _getInProgressByType().
{ return count(ilLPStatusWrapper::_getInProgressByType($a_obj_id,$a_type)); }
ilLPStatusWrapper::_getCountNotAttempted | ( | $ | a_obj_id | ) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 47 of file class.ilLPStatusWrapper.php.
References _getNotAttempted().
Referenced by ilLPItemListGUI::renderObjectList(), and ilLPItemListGUI::renderObjectListFO().
{ return count(ilLPStatusWrapper::_getNotAttempted($a_obj_id)); }
ilLPStatusWrapper::_getCountNotAttemptedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 197 of file class.ilLPStatusWrapper.php.
References _getNotAttemptedByType().
{ return count(ilLPStatusWrapper::_getNotAttemptedByType($a_obj_id,$a_type)); }
ilLPStatusWrapper::_getFailed | ( | $ | a_obj_id | ) |
Static function to read the users who have the status 'completed'.
Definition at line 137 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassById().
Referenced by ilLearningProgressBaseGUI::__readStatus(), ilLPObjectItemListGUI::__readUserStatus(), ilPDFPresentation::__showItems(), ilLPListOfObjectsGUI::__showUsersList(), ilLPStatusSCORM::_getCompleted(), ilLPStatusCollection::_getCompleted(), _getCountFailed(), ilLPStatusTestPassed::_getInProgress(), ilLPStatusSCORM::_getInProgress(), ilLPStatusExerciseReturned::_getInProgress(), ilLPStatusCollection::_getInProgress(), ilLPStatusExerciseReturned::_getNotAttempted(), and ilLPStatusCollection::_getNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func(array($class,'_getFailed'),$a_obj_id); return $cache[$a_obj_id]; }
ilLPStatusWrapper::_getFailedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 256 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassByIdAndType().
Referenced by _getCountFailedByType().
{ static $cache = array(); if(isset($cache[$a_obj_id.'_'.$a_type])) { return $cache[$a_obj_id.'_'.$a_type]; } $class = ilLPStatusFactory::_getClassByIdAndType($a_obj_id,$a_type); $cache[$a_obj_id.'_'.$a_type] = call_user_func(array($class,'_getFailed'),$a_obj_id); return $cache[$a_obj_id.'_'.$a_type]; }
ilLPStatusWrapper::_getInProgress | ( | $ | a_obj_id | ) |
Static function to read users who have the status 'in_progress'.
Definition at line 82 of file class.ilLPStatusWrapper.php.
References $ilBench, and ilLPStatusFactory::_getClassById().
Referenced by ilObjCourseGUI::__readMemberData(), ilLearningProgressBaseGUI::__readStatus(), ilLPObjectItemListGUI::__readUserStatus(), ilPDFPresentation::__showItems(), ilLPListOfObjectsGUI::__showUsersList(), _getCountInProgress(), ilLPStatusCollection::_getInProgress(), ilLPStatusObjectives::_getNotAttempted(), ilLPStatusManual::_getNotAttempted(), ilLPStatusExerciseReturned::_getNotAttempted(), and ilLPStatusCollection::_getNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } global $ilBench; $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func($tmp = array($class,'_getInProgress'),$a_obj_id); return $cache[$a_obj_id]; }
ilLPStatusWrapper::_getInProgressByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 220 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassByIdAndType().
Referenced by ilLPEventListGUI::__readUserStatus(), _getCountInProgressByType(), ilLPStatusCollection::_getInProgress(), and ilLPStatusEvent::_getNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id.'_'.$a_type])) { return $cache[$a_obj_id.'_'.$a_type]; } $class = ilLPStatusFactory::_getClassByIdAndType($a_obj_id,$a_type); $cache[$a_obj_id.'_'.$a_type] = call_user_func(array($class,'_getInProgress'),$a_obj_id); return $cache[$a_obj_id.'_'.$a_type]; }
ilLPStatusWrapper::_getNotAttempted | ( | $ | a_obj_id | ) |
Static function to read the number of user who have the status 'not_attempted'.
Definition at line 55 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassById().
Referenced by ilObjCourseGUI::__readMemberData(), ilPDFPresentation::__showItems(), ilLPListOfObjectsGUI::__showUsersList(), and _getCountNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func(array($class,'_getNotAttempted'),$a_obj_id); return $cache[$a_obj_id]; }
ilLPStatusWrapper::_getNotAttemptedByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 201 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassByIdAndType().
Referenced by _getCountNotAttemptedByType().
{ static $cache = array(); if(isset($cache[$a_obj_id.'_'.$a_type])) { return $cache[$a_obj_id.'_'.$a_type]; } $class = ilLPStatusFactory::_getClassByIdAndType($a_obj_id,$a_type); $cache[$a_obj_id.'_'.$a_type] = call_user_func(array($class,'_getNotAttempted'),$a_obj_id); return $cache[$a_obj_id.'_'.$a_type]; }
ilLPStatusWrapper::_getStatusInfo | ( | $ | a_obj_id | ) |
Reads informations about the object e.g test results, tlt, number of visits.
Definition at line 156 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassById().
Referenced by ilLPObjectItemListGUI::__readStatusInfo().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func(array($class,'_getStatusInfo'),$a_obj_id); return $cache[$a_obj_id]; }
ilLPStatusWrapper::_getStatusInfoByType | ( | $ | a_obj_id, | |
$ | a_type | |||
) |
Definition at line 269 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassByIdAndType().
Referenced by ilLPEventListGUI::__readStatusInfo(), ilLPStatusEvent::_getCompleted(), ilLPStatusEvent::_getInProgress(), and ilLPStatusEvent::_getNotAttempted().
{ static $cache = array(); if(isset($cache[$a_obj_id.'_'.$a_type])) { return $cache[$a_obj_id.'_'.$a_type]; } $class = ilLPStatusFactory::_getClassByIdAndType($a_obj_id,$a_type); $cache[$a_obj_id.'_'.$a_type] = call_user_func(array($class,'_getStatusInfo'),$a_obj_id); return $cache[$a_obj_id.'_'.$a_type]; }
ilLPStatusWrapper::_getTypicalLearningTime | ( | $ | a_obj_id | ) |
Reads Typical learning time.
Mode collection is recursive for all assigned items
Definition at line 173 of file class.ilLPStatusWrapper.php.
References ilLPStatusFactory::_getClassById().
Referenced by ilLPObjectItemListGUI::__readTypicalLearningTime(), and ilLPObjectItemListGUI::__readUserStatusInfo().
{ static $cache = array(); if(isset($cache[$a_obj_id])) { return $cache[$a_obj_id]; } $class = ilLPStatusFactory::_getClassById($a_obj_id); $cache[$a_obj_id] = call_user_func(array($class,'_getTypicalLearningTime'),$a_obj_id); return $cache[$a_obj_id]; }