4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 $this->use_icons = $a_use_icons;
26 parent::__construct(null,
"");
32 $this->
addColumn($this->lng->txt(
"type"),
"",
"1");
34 $this->
addColumn($this->lng->txt(
"title"));
37 $this->
setRowTemplate(
"tpl.confirmation_row.html",
"Services/Utilities");
51 if ($item[
"img"] !=
"")
53 $this->tpl->setCurrentBlock(
"img_cell");
54 $this->tpl->setVariable(
"IMG_ITEM", $item[
"img"]);
55 $this->tpl->setVariable(
"ALT_ITEM", $item[
"alt"]);
56 $this->tpl->parseCurrentBlock();
60 $this->tpl->touchBlock(
"blank_cell");
63 $this->tpl->setVariable(
"TXT_ITEM", $item[
"text"]);
64 if(isset($item[
'var']) && $item[
'var'])
66 $this->tpl->setVariable(
'VAR_ITEM', $item[
'var']);
67 $this->tpl->setVariable(
'ID', $item[
'id']);
__construct($a_use_icons)
Constructor.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($item)
Fill table row.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
disable($a_module_name)
diesables particular modules of table
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
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.
setLimit($a_limit=0, $a_default_limit=0)