32 include_once
'Services/Object/classes/class.ilObjectActivation.php';
33 include_once
'Modules/Course/classes/Timings/class.ilTimingPlaned.php';
39 static $cache =
array();
41 if(isset($cache[$a_ref_id]))
43 return $cache[$a_ref_id];
48 return $cache[$a_ref_id];
53 global $ilObjDataCache;
55 $obj_id = $ilObjDataCache->lookupObjId($a_ref_id);
58 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
68 if($timings[
'item'][
'changeable']
and $timings[
'user'][$a_usr_id][
'end'])
70 $end = $timings[
'user'][$a_usr_id][
'end'];
74 $end = $timings[
'item'][
'suggestion_end'];
82 include_once
'./Services/Object/classes/class.ilObjectLP.php';
84 $collection = $olp->getCollectionInstance();
87 foreach($collection->getItems() as $item)
static getItem($a_ref_id)
Get item data.
static _getPlanedTimingsByItem($a_item_id)
LP collection of repository objects.
static _showWarning($a_ref_id, $a_usr_id)
static _hasUserCompleted($a_obj_id, $a_user_id)
Lookup user object completion.
Create styles array
The data for the language used.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
static getInstance($a_obj_id)
static & _getTimings($a_ref_id)