38 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
39 include_once
'Services/Tracking/classes/class.ilLPStatusFactory.php';
59 if(isset(
$cache[$a_obj_id]))
66 $cache[$a_obj_id] = call_user_func(array($class,
'_getNotAttempted'),$a_obj_id);
86 if(isset(
$cache[$a_obj_id]))
95 $cache[$a_obj_id] = call_user_func($tmp = array($class,
'_getInProgress'),$a_obj_id);
115 if(isset(
$cache[$a_obj_id]))
120 $cache[$a_obj_id] = call_user_func(array($class,
'_getCompleted'),$a_obj_id);
140 if(isset(
$cache[$a_obj_id]))
147 $cache[$a_obj_id] = call_user_func(array($class,
'_getFailed'),$a_obj_id);
159 if(isset(
$cache[$a_obj_id]))
165 $cache[$a_obj_id] = call_user_func(array($class,
'_getStatusInfo'),$a_obj_id);
176 if(isset(
$cache[$a_obj_id]))
183 $cache[$a_obj_id] = call_user_func(array($class,
'_getTypicalLearningTime'),$a_obj_id);
204 if(isset(
$cache[$a_obj_id.
'_'.$a_type]))
206 return $cache[$a_obj_id.
'_'.$a_type];
211 $cache[$a_obj_id.
'_'.$a_type] = call_user_func(array($class,
'_getNotAttempted'),$a_obj_id);
213 return $cache[$a_obj_id.
'_'.$a_type];
223 if(isset(
$cache[$a_obj_id.
'_'.$a_type]))
225 return $cache[$a_obj_id.
'_'.$a_type];
230 $cache[$a_obj_id.
'_'.$a_type] = call_user_func(array($class,
'_getInProgress'),$a_obj_id);
232 return $cache[$a_obj_id.
'_'.$a_type];
242 if(isset(
$cache[$a_obj_id.
'_'.$a_type]))
244 return $cache[$a_obj_id.
'_'.$a_type];
248 $cache[$a_obj_id.
'_'.$a_type] = call_user_func(array($class,
'_getCompleted'),$a_obj_id);
249 return $cache[$a_obj_id.
'_'.$a_type];
259 if(isset(
$cache[$a_obj_id.
'_'.$a_type]))
261 return $cache[$a_obj_id.
'_'.$a_type];
265 $cache[$a_obj_id.
'_'.$a_type] = call_user_func(array($class,
'_getFailed'),$a_obj_id);
266 return $cache[$a_obj_id.
'_'.$a_type];
272 if(isset(
$cache[$a_obj_id.
'_'.$a_type]))
274 return $cache[$a_obj_id.
'_'.$a_type];
279 $cache[$a_obj_id.
'_'.$a_type] = call_user_func(array($class,
'_getStatusInfo'),$a_obj_id);
281 return $cache[$a_obj_id.
'_'.$a_type];