5include_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");
 
   50                $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(), $this->getParentCmd()));
 
   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);
 
   69        protected function getItems(array &$a_all_pages, array $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);
 
An exception for terminatinating execution or to throw for unit testing.
getParentCmd()
Get parent command.
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.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
addCommandButtonInstance(ilButtonBase $a_button)
Add Command button instance.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
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.
TableGUI class for ordering pages to be printed/exported.
__construct($a_parent_obj, $a_parent_cmd="", $a_pdf_export, array &$a_all_pages, array $a_page_ids)
Constructor.
getItems(array &$a_all_pages, array $a_page_ids)
Get contributors of wiki.
fillRow($a_set)
Standard Version of Fill Row.