3 declare(strict_types=1);
32 public function __construct(
int $a_obj_id, ?
object $a_parent_obj,
string $a_parent_cmd)
34 $this->obj_id = $a_obj_id;
36 $this->
setId(
'sco_tr_usr_' . $this->obj_id);
50 $this->user_id = $a_usr_id;
78 $sco_item = $this->
getSco();
79 if ($sco_item !== null) {
87 foreach ($sco_data as $row) {
96 protected function fillRow(array $a_set): void
99 $ilCtrl = $DIC->ctrl();
101 $this->tpl->setVariable(
'VAR', $a_set[
'lvalue']);
102 $this->tpl->setVariable(
'VAL', $a_set[
'rvalue']);
108 $ilCtrl = $DIC->ctrl();
111 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
112 $this->
setRowTemplate(
'tpl.scorm_track_item_per_user.html',
'Modules/ScormAicc');
121 $this->
addColumn($this->
lng->txt(
'cont_lvalue'),
'lvalue',
'50%');
122 $this->
addColumn($this->
lng->txt(
'cont_rvalue'),
'rvalue',
'50%');
setFormAction(string $a_form_action, bool $a_multipart=false)
static _lookupFullname(int $a_user_id)
parse()
Parse table content.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
fillRow(array $a_set)
Fill row template.
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $a_obj_id, ?object $a_parent_obj, string $a_parent_cmd)
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(Container $dic, ilPlugin $plugin)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
setUserId(int $a_usr_id)
Set current user id.