4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
20 public function __construct($a_obj_id,$a_parent_obj,$a_parent_cmd)
22 $this->obj_id = $a_obj_id;
24 $this->
setId(
'sco_trs_usr_'.$this->obj_id);
43 $this->user_id = $a_usr_id;
64 foreach($user_data as
$row)
80 $this->tpl->setVariable(
'VAL_TITLE', $a_set[
'title']);
83 $ilCtrl->setParameter($this->
getParentObject(),
'obj_id',$a_set[
'sco_id']);
84 $this->tpl->setVariable(
'LINK_SCO', $ilCtrl->getLinkTarget($this->getParentObject(),
'showTrackingItemPerUser'));
86 $this->tpl->setVariable(
'VAL_STATUS', $a_set[
'status']);
87 $this->tpl->setVariable(
'VAL_TIME', $a_set[
'time']);
88 $this->tpl->setVariable(
'VAL_SCORE', $a_set[
'score']);
99 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
100 $this->
setRowTemplate(
'tpl.scorm_track_item.html',
'Modules/ScormAicc');
103 $this->
addColumn($this->lng->txt(
'title'),
'title',
'35%');
104 $this->
addColumn($this->lng->txt(
'cont_status'),
'status',
'25%');
105 $this->
addColumn($this->lng->txt(
'cont_time'),
'time',
'20%');
106 $this->
addColumn($this->lng->txt(
'cont_score'),
'score',
'20%');