35 $this->
ctrl = $DIC->ctrl();
36 $this->
lng = $DIC->language();
37 $this->
access = $DIC->access();
38 $ilCtrl = $DIC->ctrl();
39 $lng = $DIC->language();
43 $this->
setData($templates->getAllInfo());
48 $this->
addColumn($this->
lng->txt(
"wiki_templ_new_pages"),
"");
49 $this->
addColumn($this->
lng->txt(
"wiki_templ_add_to_page"),
"");
55 $this->
setRowTemplate(
"tpl.wiki_page_templates_row.html",
"Modules/Wiki");
61 protected function fillRow(array $a_set): void
63 $this->tpl->setVariable(
"ID", $a_set[
"wpage_id"]);
64 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
65 if ($a_set[
"new_pages"]) {
66 $this->tpl->setVariable(
"NEW_PAGES_CHECKED",
'checked="checked"');
68 if ($a_set[
"add_to_page"]) {
69 $this->tpl->setVariable(
"ADD_TO_PAGE_CHECKED",
'checked="checked"');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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)
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...
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(object $a_parent_obj, string $a_parent_cmd, int $a_wiki_id)
__construct(Container $dic, ilPlugin $plugin)
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)