3 declare(strict_types=1);
    31     public function __construct(
int $a_obj_id, ?
object $a_parent_obj, 
string $a_parent_cmd)
    33         $this->obj_id = $a_obj_id;
    35         $this->
setId(
'sco_tr_usrs_' . $this->obj_id);
    54         $attempts = $this->
getParentObject()->getObject()->getAttemptsForUsers();
    55         $versions = $this->
getParentObject()->getObject()->getModuleVersionForUsers();
    58         foreach ($users as $user) {
    60             $tmp[
'user'] = $user[
'user_id'];
    61             $tmp[
'name'] = $user[
'lastname'] . 
', ' . $user[
'firstname'];
    64             $tmp[
'attempts'] = (
int) $attempts[$user[
'user_id']];
    65             $tmp[
'version'] = (
int) $versions[$user[
'user_id']];
    91             $this->
filter[
"lastname"] = $item->getValue();
    98     protected function fillRow(array $a_set): void
   101         $ilCtrl = $DIC->ctrl();
   103         $this->tpl->setVariable(
'CHECKBOX_ID', $a_set[
'user']);
   104         $this->tpl->setVariable(
'VAL_USERNAME', $a_set[
'name']);
   110         $this->tpl->setVariable(
'VAL_ATTEMPT', (
int) $a_set[
'attempts']);
   111         $this->tpl->setVariable(
'VAL_VERSION', (
string) $a_set[
'version']);
   117         $ilCtrl = $DIC->ctrl();
   124         $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
   125         $this->
setRowTemplate(
'tpl.scorm_track_items.html', 
'components/ILIAS/ScormAicc');
   126         $this->
setTitle($this->
lng->txt(
'cont_tracking_items'));
   129         $this->
addColumn($this->
lng->txt(
'user'), 
'name', 
'35%');
   130         $this->
addColumn($this->
lng->txt(
'last_access'), 
'last_access', 
'25%');
   131         $this->
addColumn($this->
lng->txt(
'attempts'), 
'attempts', 
'20%');
   132         $this->
addColumn($this->
lng->txt(
'version'), 
'version', 
'20%');
   134         $this->
enable(
'select_all');
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
enable(string $a_module_name)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setResetCommand(string $a_val, string $a_caption="")
 
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
setDisableFilterHiding(bool $a_val=true)
 
setExternalSorting(bool $a_val)
 
__construct(int $a_obj_id, ?object $a_parent_obj, string $a_parent_cmd)
 
addFilterItemByMetaType(string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
Add filter by standard type. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setFilterCommand(string $a_val, string $a_caption="")
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
parse()
Parse table content. 
 
__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)
 
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
 
addMultiCommand(string $a_cmd, string $a_text)
 
determineOffsetAndOrder(bool $a_omit_offset=false)
 
fillRow(array $a_set)
Fill row template. 
 
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)