4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   20        function __construct($a_parent_obj, $a_parent_cmd, $a_incl_desc = 
true, $a_base_cmd = 
"HeaderTitle")
 
   24                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   25                $this->incl_desc = $a_incl_desc;
 
   26                $this->base_cmd = $a_base_cmd;
 
   31                $this->
addColumn($this->lng->txt(
"language"), 
"", 
"");
 
   32                $this->
addColumn($this->lng->txt(
"default"), 
"", 
"");
 
   33                $this->
addColumn($this->lng->txt(
"title"), 
"", 
"");
 
   36                        $this->
addColumn($this->lng->txt(
"description"), 
"", 
"");
 
   42                $this->
setRowTemplate(
"tpl.obj_translation_row.html", 
"Services/Object");
 
   75                        $this->tpl->setCurrentBlock(
"desc_row");
 
   77                        $this->tpl->setVariable(
"DNR", $this->nr);
 
   78                        $this->tpl->parseCurrentBlock();
 
   81                $this->tpl->setVariable(
"NR", $this->nr);
 
   84                include_once(
'Services/MetaData/classes/class.ilMDLanguageItem.php');
 
   86                $this->tpl->setVariable(
"LANG_SELECT",
 
   90                if ($a_set[
"default"])
 
   92                        $this->tpl->setVariable(
"DEF_CHECKED", 
"checked=\"checked\"");
 
TableGUI class for title/description translations.
__construct($a_parent_obj, $a_parent_cmd, $a_incl_desc=true, $a_base_cmd="HeaderTitle")
Constructor.
prepareOutput()
Prepare output.
fillRow($a_set)
Fill table row.
setEnableHeader($a_enableheader)
Set Enable Header.
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.
setEnableTitle($a_enabletitle)
Set Enable Title.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
disable($a_module_name)
diesables particular modules of table
static formSelect($selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public