36 $this->
ctrl = $DIC->ctrl();
38 $this->tpl = $DIC[
"tpl"];
39 $this->
lng = $DIC->language();
40 $this->lang = $a_lang;
42 $this->
setId(
"lm_short_title");
46 $this->
setTitle($this->
lng->txt(
"cont_short_titles"));
52 $this->
setRowTemplate(
"tpl.short_title_row.html",
"Modules/LearningModule");
57 protected function fillRow(array $a_set): void
59 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
60 $this->tpl->setVariable(
"DEFAULT_TITLE", $a_set[
"default_title"] ??
"");
61 $this->tpl->setVariable(
"DEFAULT_SHORT_TITLE", $a_set[
"default_short_title"] ??
"");
62 $this->tpl->setVariable(
"ID", $a_set[
"obj_id"]);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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="")
__construct(object $a_parent_obj, string $a_parent_cmd, ilObjLearningModule $a_lm, string $a_lang)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
static getShortTitles(int $a_lm_id, string $a_lang="-")
__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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...