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