35 $this->
ctrl = $DIC->ctrl();
36 $this->
lng = $DIC->language();
37 $this->
access = $DIC->access();
38 $ilCtrl = $DIC->ctrl();
39 $lng = $DIC->language();
43 [array(
"page_id" => 0)],
51 $this->
addColumn($this->
lng->txt(
"wiki_ordering"),
"order");
67 protected function fillRow(array $a_set): void
71 if ($a_set[
"page_id"] > 0) {
72 $this->tpl->setCurrentBlock(
"cb");
73 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"page_id"]);
74 $this->tpl->parseCurrentBlock();
76 $this->tpl->setCurrentBlock(
"ord");
77 $this->tpl->setVariable(
"PAGE_ID_ORD", $a_set[
"page_id"]);
78 $this->tpl->setVariable(
"VAL_ORD", $a_set[
"ord"]);
79 $this->tpl->parseCurrentBlock();
81 $this->tpl->setVariable(
85 $this->tpl->setVariable(
89 "indent[" . $a_set[
"page_id"] .
"]",
90 [0 =>
"0", 1 =>
"1", 2 =>
"2"],
96 if ($this->templates->isPageTemplate((
int) $a_set[
"page_id"])) {
97 $this->tpl->setVariable(
103 $this->tpl->setVariable(
108 $this->tpl->setVariable(
__construct(object $a_parent_obj, string $a_parent_cmd)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setFormAction(string $a_form_action, bool $a_multipart=false)
setEnableTitle(bool $a_enabletitle)
ilWikiPageTemplate $templates
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupImportantPagesList(int $a_wiki_id)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
static lookupTitle(int $a_page_id)
__construct(Container $dic, ilPlugin $plugin)
setLimit(int $a_limit=0, int $a_default_limit=0)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
addMultiCommand(string $a_cmd, string $a_text)
setEnableHeader(bool $a_enableheader)