4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
19 $this->
setId(
'tst_pers_def_set_' . $parentObj->object->getId());
21 parent::__construct($parentObj, $cmd);
23 $this->
setTitle($this->lng->txt(
'tst_defaults_available'));
27 $this->
setRowTemplate(
'tpl.il_as_tst_defaults_row.html',
'Modules/Test');
33 $this->
addMultiCommand(
'applyDefaults', $this->lng->txt(
'apply_def_settings_to_tst'));
43 $this->
addColumn($this->lng->txt(
'title'),
'name',
'80%');
44 $this->
addColumn($this->lng->txt(
'date'),
'tstamp',
'19%');
52 parent::fillRow(array(
53 'name' =>
$row[
'name'],
64 return in_array($field, array(
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
ilTable2GUI constructor.
Class ilTestPersonalDefaultSettingsTableGUI.
setNoEntriesText($a_text)
Set text for an empty table.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setFormName($a_formname="")
Set Form name.
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.
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public