5 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
28 public function __construct($a_parent_obj, $a_parent_cmd =
"", $a_pdf_export,
array &$a_all_pages,
array $a_page_ids)
32 parent::__construct($a_parent_obj, $a_parent_cmd);
34 if(!(
bool)$a_pdf_export)
36 $title =
"wiki_show_print_view";
41 $title =
"wiki_show_pdf_export";
47 $this->
addColumn($lng->txt(
"wiki_ordering"),
"",
"1");
53 include_once
"Services/UIComponent/Button/classes/class.ilSubmitButton.php";
55 $button->setOmitPreventDoubleSubmission((
bool)$a_pdf_export);
56 $button->setCaption(
"continue");
57 $button->setCommand(
$cmd);
60 $this->
setRowTemplate(
"tpl.table_row_export_order.html",
"Modules/Wiki");
63 $this->
getItems($a_all_pages, $a_page_ids);
73 foreach ($a_page_ids as $page_id)
77 "title" => $a_all_pages[$page_id][
"title"]
92 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"id"]);
93 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
94 $this->tpl->setVariable(
"ORDER", $this->order);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
addCommandButtonInstance(ilButtonBase $a_button)
Add Command button instance.
fillRow($a_set)
Standard Version of Fill Row.
__construct($a_parent_obj, $a_parent_cmd="", $a_pdf_export, array &$a_all_pages, array $a_page_ids)
Constructor.
getParentCmd()
Get parent command.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
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.
getItems(array &$a_all_pages, array $a_page_ids)
Get contributors of wiki.
TableGUI class for ordering pages to be printed/exported.
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)