24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
49 parent::__construct($a_parent_obj, $a_parent_cmd);
51 $lng = $DIC->language();
59 $this->
setStyle(
'table',
'fullwidth');
61 $this->
addColumn($this->lng->txt(
"answer"),
'',
'');
62 $this->
addColumn($this->lng->txt(
"use_other_answer"),
'',
'');
63 $this->
addColumn($this->lng->txt(
"scale"),
'',
'');
65 $this->
setRowTemplate(
"tpl.il_svy_qpl_phrase_save_row.html",
"Modules/SurveyQuestionPool");
67 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
82 $this->tpl->setVariable(
"ANSWER",
$data[
"answer"]);
83 $this->tpl->setVariable(
"OPEN_ANSWER", (
$data[
"other"]) ? $this->lng->txt(
'yes') : $this->lng->txt(
'no'));
84 $this->tpl->setVariable(
"SCALE",
$data[
"scale"]);
setStyle($a_element, $a_style)
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
enable($a_module_name)
enables particular modules of table
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
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.