3 declare(strict_types=1);
    43         $this->
ctrl = $DIC->ctrl();
    44         $this->
lng = $DIC->language();
    45         $this->
access = $DIC->access();
    46         $this->rbacsystem = $DIC->rbac()->system();
    47         $ilCtrl = $DIC->ctrl();
    48         $lng = $DIC->language();
    54         $this->style_obj = $a_style_obj;
    62         $this->
setRowTemplate(
"tpl.style_media_query_row.html", 
"components/ILIAS/Style/Content");
    67         if ($this->access_manager->checkWrite()) {
    77         $this->
setData($this->style_obj->getMediaQueries());
    80     protected function fillRow(array $a_set): void
    85         $this->tpl->setVariable(
"MQUERY", $a_set[
"mquery"]);
    86         $this->tpl->setVariable(
"MQID", $a_set[
"id"]);
    87         $this->tpl->setVariable(
"ORDER_NR", $a_set[
"order_nr"]);
    89         if ($this->access_manager->checkWrite()) {
    90             $this->tpl->setVariable(
"TXT_EDIT", 
$lng->
txt(
"edit"));
    91             $ilCtrl->
setParameter($this->parent_obj, 
"mq_id", $a_set[
"id"]);
    92             $this->tpl->setVariable(
    94                 $ilCtrl->getLinkTarget($this->parent_obj, 
"editMediaQuery")
 
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)
 
setEnableTitle(bool $a_enabletitle)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
setDescription(string $a_val)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(Container $dic, ilPlugin $plugin)
 
Manages access to content style editing. 
 
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)
 
addMultiCommand(string $a_cmd, string $a_text)
 
setEnableHeader(bool $a_enableheader)