4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 parent::__construct($a_parent_obj, $a_parent_cmd);
32 $this->
addColumn($this->lng->txt(
"wiki_ordering"),
"order");
33 $this->
addColumn($this->lng->txt(
"wiki_indentation"));
34 $this->
addColumn($this->lng->txt(
"wiki_page"));
35 $this->
addColumn($this->lng->txt(
"wiki_purpose"));
43 $this->
addMultiCommand(
"confirmRemoveImportantPages", $lng->txt(
"remove"));
44 $this->
addMultiCommand(
"setAsStartPage", $lng->txt(
"wiki_set_as_start_page"));
45 $this->
addCommandButton(
"saveOrderingAndIndent", $lng->txt(
"wiki_save_ordering_and_indent"));
55 if ($a_set[
"page_id"] > 0)
57 $this->tpl->setCurrentBlock(
"cb");
58 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"page_id"]);
59 $this->tpl->parseCurrentBlock();
61 $this->tpl->setCurrentBlock(
"ord");
62 $this->tpl->setVariable(
"PAGE_ID_ORD", $a_set[
"page_id"]);
63 $this->tpl->setVariable(
"VAL_ORD", $a_set[
"ord"]);
64 $this->tpl->parseCurrentBlock();
66 $this->tpl->setVariable(
"PAGE_TITLE",
68 $this->tpl->setVariable(
"SEL_INDENT",
70 array(0 =>
"0", 1 =>
"1", 2 =>
"2"),
false,
true));
74 $this->tpl->setVariable(
"PAGE_TITLE",
77 $this->tpl->setVariable(
"PURPOSE",
78 $lng->txt(
"wiki_start_page"));
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
static lookupTitle($a_page_id)
Checks whether a page with given title exists.
static _lookupImportantPagesList($a_wiki_id)
Get important pages list.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill table row.
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.
addMultiCommand($a_cmd, $a_text)
Add Command button.
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.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
Create new PHPExcel object
obj_idprivate
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)