19 declare(strict_types=1);
28 $this->
setId(
'tst_pers_def_set_' . $parent_obj->
getObject()->getId());
32 $this->
setTitle($this->
lng->txt(
'tst_defaults_available'));
36 $this->
setRowTemplate(
'tpl.il_as_tst_defaults_row.html',
'components/ILIAS/Test');
49 $this->
addColumn($this->
lng->txt(
'title'),
'name',
'80%');
50 $this->
addColumn($this->
lng->txt(
'date'),
'tstamp',
'19%');
53 public function fillRow(array $a_set): void
56 'name' => $a_set[
'name'],
64 return in_array($a_field, [
setNoEntriesText(string $a_text)
setFormAction(string $a_form_action, bool $a_multipart=false)
Class ilTestPersonalDefaultSettingsTableGUI.
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
__construct(ilObjTestGUI $parent_obj, string $cmd)
setFormName(string $a_name="")
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector.
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(Container $dic, ilPlugin $plugin)
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
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)
addMultiCommand(string $a_cmd, string $a_text)
numericOrdering(string $a_field)