3 declare(strict_types=1);
    33         bool $a_call_by_reference = 
true,
    34         bool $a_prepare_output = 
true    38         $this->
lng = $DIC->language();
    40         $this->
ctrl = $DIC->ctrl();
    44         $this->
lng->loadLanguageModule(
"blog");
    49         $next_class = $this->
ctrl->getNextClass($this);
    50         $cmd = $this->
ctrl->getCmd();
    54         switch ($next_class) {
    55             case 'ilpermissiongui':
    56                 $this->tabs_gui->setTabActive(
'perm_settings');
    58                 $this->
ctrl->forwardCommand($perm_gui);
    62                 if (!$cmd || $cmd === 
'view') {
    63                     $cmd = 
"editSettings";
    74             $this->tabs_gui->addTarget(
    76                 $this->
ctrl->getLinkTarget($this, 
"editSettings"),
    77                 array(
"editSettings", 
"view")
    82             $this->tabs_gui->addTarget(
    84                 $this->
ctrl->getLinkTargetByClass(
'ilpermissiongui', 
"perm"),
    96         $this->tabs_gui->setTabActive(
'settings');
    99             $this->tpl->setOnScreenMessage(
'info', 
$lng->
txt(
"blog_admin_toggle_info"));
   101             $this->tpl->setOnScreenMessage(
'info', 
$lng->
txt(
"blog_admin_inactive_info"));
   107         $this->tpl->setContent($a_form->getHTML());
   117         if ($form->checkInput()) {
   118             $banner = (bool) $form->getInput(
"banner");
   121             $blga_set->set(
"banner", (
string) $banner);
   122             $blga_set->set(
"banner_width", (
string) (
int) $form->getInput(
"width"));
   123             $blga_set->set(
"banner_height", (
string) (
int) $form->getInput(
"height"));
   124             $blga_set->set(
"mask", (
string) (
bool) $form->getInput(
"mask"));
   125             $blga_set->set(
"est_reading_time", (
string) (
bool) $form->getInput(
"est_reading_time"));
   127             $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"settings_saved"), 
true);
   128             $ilCtrl->redirect($this, 
"editSettings");
   131         $form->setValuesByPost();
   147         $form->setFormAction($this->
ctrl->getFormAction($this));
   148         $form->setTitle($this->
lng->txt(
'blog_settings'));
   151             $form->addCommandButton(
'saveSettings', $this->
lng->txt(
'save'));
   152             $form->addCommandButton(
'cancel', $this->
lng->txt(
'cancel'));
   156         $banner->setInfo(
$lng->
txt(
"blog_preview_banner_info"));
   157         $form->addItem($banner);
   160         $width->setRequired(
true);
   162         $banner->addSubItem($width);
   165         $height->setRequired(
true);
   167         $banner->addSubItem($height);
   170         $banner->setChecked((
bool) $blga_set->get(
"banner", 
'0'));
   171         if ($blga_set->get(
"banner")) {
   172             $width->setValue($blga_set->get(
"banner_width"));
   173             $height->setValue($blga_set->get(
"banner_height"));
   175             $width->setValue(
"1370");
   176             $height->setValue(
"100");
   180             $lng->
txt(
"blog_est_reading_time"),
   183         $cb_prop->setInfo(
$lng->
txt(
"blog_est_reading_time_info"));
   184         $cb_prop->setChecked((
bool) $blga_set->get(
"est_reading_time"));
   185         $form->addItem($cb_prop);
 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...
 
redirect(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
 
prepareOutput(bool $show_sub_objects=true)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct( $a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
 
editSettings(?ilPropertyFormGUI $a_form=null)
 
Class ilObjectGUI Basic methods of all Output classes. 
 
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. 
 
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)