34         bool $a_has_write_permission = 
false    38         $this->
ctrl = $DIC->ctrl();
    39         $this->
lng = $DIC->language();
    40         $this->
access = $DIC->access();
    42         $ilCtrl = $DIC->ctrl();
    43         $lng = $DIC->language();
    44         $this->has_write_permission = $a_has_write_permission;
    45         $module_manager = $DIC->help()->internal()->domain()->module();
    48         $this->
setId(
"help_mods");
    51         $this->
setData($module_manager->getHelpModules());
    62         $this->
setRowTemplate(
"tpl.help_module_row.html", 
"Services/Help/Administration");
    65         if ($this->has_write_permission) {
    70     protected function fillRow(array $a_set): void
    76         $ilCtrl->
setParameter($this->parent_obj, 
"hm_id", $a_set[
"id"]);
    77         if ($this->has_write_permission) {
    78             $this->tpl->setCurrentBlock(
"cmd");
    79             if ($a_set[
"active"]) {
    80                 $this->tpl->setVariable(
    82                     $ilCtrl->getLinkTarget($this->parent_obj, 
"deactivateModule")
    84                 $this->tpl->setVariable(
"TXT_CMD", 
$lng->
txt(
"deactivate"));
    86                 $this->tpl->setVariable(
    88                     $ilCtrl->getLinkTarget($this->parent_obj, 
"activateModule")
    90                 $this->tpl->setVariable(
"TXT_CMD", 
$lng->
txt(
"activate"));
    92             $this->tpl->parseCurrentBlock();
    94         $ilCtrl->setParameter($this->parent_obj, 
"hm_id", 
"");
    95         $this->tpl->setVariable(
"TITLE", $a_set[
"title"] ?? 
"");
    96         $this->tpl->setVariable(
   100         $this->tpl->setVariable(
"ID", $a_set[
"id"]);
   101         $this->order_nr += 10;
   102         $this->tpl->setVariable(
"ORDER_NR", $this->order_nr);
   103         if ($a_set[
"active"]) {
   104             $this->tpl->setVariable(
"ACTIVE", $this->
lng->txt(
"yes"));
   106             $this->tpl->setVariable(
"ACTIVE", $this->
lng->txt(
"no"));
 
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...
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(object $a_parent_obj, string $a_parent_cmd, bool $a_has_write_permission=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)
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
 
bool $has_write_permission
 
addMultiCommand(string $a_cmd, string $a_text)