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_usr_' . $this->obj_id);
26 parent::__construct($a_parent_obj, $a_parent_cmd);
44 $this->user_id = $a_usr_id;
62 include_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMItem.php");
88 foreach ($sco_data as
$row) {
104 $this->tpl->setVariable(
'VAR', $a_set[
'lvalue']);
105 $this->tpl->setVariable(
'VAL', $a_set[
'rvalue']);
118 $this->
setRowTemplate(
'tpl.scorm_track_item_per_user.html',
'Modules/ScormAicc');
120 $this->
getSco()->getTitle() .
' - ' .
124 $this->
addColumn($this->lng->txt(
'cont_lvalue'),
'lvalue',
'50%');
125 $this->
addColumn($this->lng->txt(
'cont_rvalue'),
'rvalue',
'50%');
setScoId($a_sco_id)
Set sco id.
static _lookupFullname($a_user_id)
Lookup Full Name.
parse()
Parse table content.
setUserId($a_usr_id)
Set current user id.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill row template.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
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.
__construct($a_obj_id, $a_parent_obj, $a_parent_cmd)
Constructor.