27 string $a_parent_cmd =
"",
28 protected bool $has_write =
false 32 $this->
ctrl = $DIC->ctrl();
33 $this->
lng = $DIC->language();
34 $ilCtrl = $DIC->ctrl();
35 $lng = $DIC->language();
37 $this->
setId(
"bdgtmpl");
45 if ($this->has_write) {
52 if ($this->has_write) {
72 "id" => $template->getId(),
73 "title" => $template->getTitle(),
74 "path" => $template->getImagePath(),
75 "file" => $template->getImage()
82 protected function fillRow(array $a_set): void
87 if ($this->has_write) {
88 $this->tpl->setVariable(
"VAL_ID", $a_set[
"id"]);
91 $this->tpl->setVariable(
"TXT_TITLE", $a_set[
"title"]);
93 $this->tpl->setVariable(
"TXT_IMG", $a_set[
"file"]);
95 if ($this->has_write) {
100 $this->tpl->setVariable(
"TXT_EDIT",
$lng->
txt(
"edit"));
101 $this->tpl->setVariable(
"URL_EDIT",
$url);
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)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
setLimit(int $a_limit=0, int $a_default_limit=0)
static signFile(string $path_to_file)
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...
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
addMultiCommand(string $a_cmd, string $a_text)
__construct(object $a_parent_obj, string $a_parent_cmd="", protected bool $has_write=false)