ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLPStatusWrapper Class Reference
+ 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'.
 _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)

Detailed Description

Definition at line 41 of file class.ilLPStatusWrapper.php.

Member Function Documentation

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 $cache, and ilLPStatusFactory\_getClassById().

Referenced by ilLearningProgressBaseGUI\__readStatus(), ilLPObjectItemListGUI\__readUserStatus(), ilLPEventListGUI\__readUserStatus(), ilLPObjectItemListGUI\__readUserStatusInfo(), ilLPListOfObjectsGUI\__showEditUser(), ilPDFPresentation\__showItems(), ilLPListOfObjectsGUI\__showUsersList(), ilConditionHandler\_checkCondition(), _getCountCompleted(), ilLPStatusTestPassed\_getInProgress(), ilLPStatusSCORM\_getInProgress(), ilLPStatusExerciseReturned\_getInProgress(), ilLPStatusCollection\_getInProgress(), ilLPStatusManual\_getNotAttempted(), ilLPStatusObjectives\_getNotAttempted(), ilLPStatusCollection\_getNotAttempted(), ilLPStatusEvent\_getNotAttempted(), ilLPStatusExerciseReturned\_getNotAttempted(), ilLPStatusManualByTutor\_getNotAttempted(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), ilTimingCache\_showWarning(), ilObjCourseGUI\fetchPrintMemberData(), ilSoapSCORMAdministration\getSCORMCompletionStatus(), ilCourseStart\isFullfilled(), ilObjGroupGUI\readMemberData(), and ilObjCourseGUI\readMemberData().

{
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];
}

+ 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 238 of file class.ilLPStatusWrapper.php.

References $cache, and ilLPStatusFactory\_getClassByIdAndType().

Referenced by _getCountCompletedByType().

{
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];
}

+ 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 103 of file class.ilLPStatusWrapper.php.

References _getCompleted().

Referenced by ilLPItemListGUI\renderObjectList(), and ilLPItemListGUI\renderObjectListFO().

{
return count(ilLPStatusWrapper::_getCompleted($a_obj_id));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilLPStatusWrapper::_getCountCompletedByType (   $a_obj_id,
  $a_type 
)

Definition at line 234 of file class.ilLPStatusWrapper.php.

References _getCompletedByType().

{
return count(ilLPStatusWrapper::_getCompletedByType($a_obj_id,$a_type));
}

+ 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 128 of file class.ilLPStatusWrapper.php.

References _getFailed().

Referenced by ilLPItemListGUI\renderObjectList(), and ilLPItemListGUI\renderObjectListFO().

{
return count(ilLPStatusWrapper::_getFailed($a_obj_id));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilLPStatusWrapper::_getCountFailedByType (   $a_obj_id,
  $a_type 
)

Definition at line 251 of file class.ilLPStatusWrapper.php.

References _getFailedByType().

{
return count(ilLPStatusWrapper::_getFailedByType($a_obj_id,$a_type));
}

+ 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 74 of file class.ilLPStatusWrapper.php.

References _getInProgress().

Referenced by ilLPItemListGUI\renderObjectList(), and ilLPItemListGUI\renderObjectListFO().

{
return count(ilLPStatusWrapper::_getInProgress($a_obj_id));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilLPStatusWrapper::_getCountInProgressByType (   $a_obj_id,
  $a_type 
)

Definition at line 215 of file class.ilLPStatusWrapper.php.

References _getInProgressByType().

{
return count(ilLPStatusWrapper::_getInProgressByType($a_obj_id,$a_type));
}

+ 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 47 of file class.ilLPStatusWrapper.php.

References _getNotAttempted().

Referenced by ilLPItemListGUI\renderObjectList(), and ilLPItemListGUI\renderObjectListFO().

{
return count(ilLPStatusWrapper::_getNotAttempted($a_obj_id));
}

+ Here is the call graph for this function:

+ Here is the caller 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 196 of file class.ilLPStatusWrapper.php.

References _getNotAttemptedByType().

{
return count(ilLPStatusWrapper::_getNotAttemptedByType($a_obj_id,$a_type));
}

+ Here is the call graph for this function:

ilLPStatusWrapper::_getFailedByType (   $a_obj_id,
  $a_type 
)

Definition at line 255 of file class.ilLPStatusWrapper.php.

References $cache, and 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];
}

+ 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 219 of file class.ilLPStatusWrapper.php.

References $cache, and ilLPStatusFactory\_getClassByIdAndType().

Referenced by _getCountInProgressByType().

{
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];
}

+ 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 55 of file class.ilLPStatusWrapper.php.

References $cache, and ilLPStatusFactory\_getClassById().

Referenced by ilPDFPresentation\__showItems(), ilLPListOfObjectsGUI\__showUsersList(), _getCountNotAttempted(), ilObjCourseGUI\fetchPrintMemberData(), ilObjGroupGUI\readMemberData(), and ilObjCourseGUI\readMemberData().

{
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];
}

+ 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 200 of file class.ilLPStatusWrapper.php.

References $cache, and 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];
}

+ 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 155 of file class.ilLPStatusWrapper.php.

References $cache, and 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];
}

+ 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 268 of file class.ilLPStatusWrapper.php.

References $cache, and ilLPStatusFactory\_getClassByIdAndType().

Referenced by ilLPEventListGUI\__readStatusInfo().

{
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];
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilLPStatusWrapper::_getTypicalLearningTime (   $a_obj_id)

Reads Typical learning time.

Mode collection is recursive for all assigned items

Definition at line 172 of file class.ilLPStatusWrapper.php.

References $cache, and 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];
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: