4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
21 public function __construct($a_obj_id,$a_parent_obj,$a_parent_cmd)
23 $this->obj_id = $a_obj_id;
25 $this->
setId(
'sco_tr_sco_'.$this->obj_id);
44 include_once
'./Modules/ScormAicc/classes/SCORM/class.ilSCORMItem.php';
67 foreach($sco_data as
$row)
70 $tmp[
'user_id'] = $row[
'user_id'];
71 $tmp[
'score'] = $row[
'score'];
72 $tmp[
'time'] = $row[
'time'];
73 $tmp[
'status'] = $row[
'status'];
90 $ilCtrl->setParameter($this->
getParentObject(),
'user_id',$a_set[
'user_id']);
92 $this->tpl->setVariable(
'LINK_USER', $ilCtrl->getLinkTarget($this->getParentObject(),
'showTrackingItemPerUser'));
93 $this->tpl->setVariable(
'VAL_USERNAME', $a_set[
'name']);
95 $this->tpl->setVariable(
'VAL_STATUS', $a_set[
'status']);
96 $this->tpl->setVariable(
'VAL_TIME', $a_set[
'time']);
97 $this->tpl->setVariable(
'VAL_SCORE', $a_set[
'score']);
108 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
109 $this->
setRowTemplate(
'tpl.scorm_track_item_sco.html',
'Modules/ScormAicc');
112 $this->
addColumn($this->lng->txt(
'name'),
'name',
'35%');
113 $this->
addColumn($this->lng->txt(
'cont_status'),
'status',
'25%');
114 $this->
addColumn($this->lng->txt(
'cont_time'),
'time',
'20%');
115 $this->
addColumn($this->lng->txt(
'cont_score'),
'score',
'20%');