33 bool $a_validation =
false 37 $this->
ctrl = $DIC->ctrl();
38 $this->
lng = $DIC->language();
39 $this->
access = $DIC->access();
40 $ilCtrl = $DIC->ctrl();
41 $lng = $DIC->language();
43 $this->
setId(
"lm_help_map");
44 $this->validation = $a_validation;
56 $this->
setRowTemplate(
"tpl.help_map_row.html",
"Modules/LearningModule");
66 $lm_tree = $this->parent_obj->getObject()->getTree();
68 if ($hc > 0 && $lm_tree->isInTree($hc)) {
71 $chaps = $lm_tree->getFilteredSubTree($hc, array(
"pg"));
81 protected function fillRow(array $a_set): void
85 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"title"]);
86 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"obj_id"]);
90 $this->tpl->setVariable(
static get(string $a_var)
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="")
static getChapterList(int $a_lm_id)
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="")
static getScreenIdsOfChapter(int $a_chap, int $a_module_id=0)
__construct(Container $dic, ilPlugin $plugin)
__construct(object $a_parent_obj, string $a_parent_cmd, bool $a_validation=false)
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...