4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
19 public function __construct($a_obj_id,$a_parent_obj,$a_parent_cmd)
21 $this->obj_id = $a_obj_id;
23 $this->
setId(
'sco_trs_usr_'.$this->obj_id);
24 parent::__construct($a_parent_obj, $a_parent_cmd);
46 foreach($scos as
$row)
49 $tmp[
'title'] = $row->getTitle();
50 $tmp[
'id'] = $row->getId();
66 $this->tpl->setVariable(
'TXT_ITEM_TITLE', $a_set[
'title']);
68 $this->tpl->setVariable(
'LINK_ITEM', $ilCtrl->getLinkTarget($this->getParentObject(),
'showTrackingItemSco'));
79 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
80 $this->
setRowTemplate(
'tpl.scorm_track_items_sco.html',
'Modules/ScormAicc');
81 $this->
setTitle($this->lng->txt(
'cont_tracking_items'));
83 $this->
addColumn($this->lng->txt(
'title'),
'title',
'100%');
fillRow($a_set)
Fill row template.
parse()
Parse table content.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_obj_id, $a_parent_obj, $a_parent_cmd)
Constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.