24include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   37        public function __construct($a_parent_obj, $a_parent_cmd, $a_cancel_cmd)
 
   41                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   43                $this->
addColumn($lng->txt(
"title"), 
"title");
 
   44                $this->
addColumn($lng->txt(
"action"), 
"");
 
   45                $this->
setTitle($this->lng->txt(
'select_object_to_link'));
 
   50                $this->
setRowTemplate(
"tpl.il_svy_qpl_material_source_row.html", 
"Modules/SurveyQuestionPool");         
 
   52                $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(), $this->getParentCmd()));
 
   66                $url_cmd = 
"add".strtoupper(
$data[
"item_type"]);
 
   67                $url_type = strtolower(
$data[
"item_type"]);
 
   73                $this->tpl->setVariable(
"TITLE", 
$data[
'title']);
 
   74                $this->tpl->setVariable(
"URL_ADD", $url);
 
   75                $this->tpl->setVariable(
"TXT_ADD", 
$lng->txt(
"add"));
 
TableGUI class for survey question source materials.
fillRow($data)
Fill data row.
__construct($a_parent_obj, $a_parent_cmd, $a_cancel_cmd)
Constructor.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
disable($a_module_name)
diesables particular modules of table
setLimit($a_limit=0, $a_default_limit=0)
set max.