35         string $a_parent_type,
    38         bool $a_prevent_get_id = 
false,
    43         $this->tpl = $DIC[
"tpl"];
    44         $this->
ctrl = $DIC->ctrl();
    45         $this->
tabs = $DIC->tabs();
    46         $this->
lng = $DIC->language();
    54         $this->layout_object->readObject();
    59             "LOCATION_CONTENT_STYLESHEET",
    71         $next_class = $this->
ctrl->getNextClass($this);
    73         switch ($next_class) {
    75                 return parent::executeCommand();
    78                 $html = parent::executeCommand();
    92         string $a_mode = 
"save",
   102         $this->tpl->setContent($a_form->getHTML());
   112         $form_gui->setFormAction($ilCtrl->getFormAction($this));
   113         $form_gui->setTitle(
$lng->
txt(
"cont_ed_pglprop"));
   117         $title_input->setSize(50);
   118         $title_input->setMaxLength(128);
   119         $title_input->setValue($this->layout_object->title);
   120         $title_input->setTitle(
$lng->
txt(
"title"));
   121         $title_input->setRequired(
true);
   125         $desc_input->
setValue($this->layout_object->description);
   126         $desc_input->setRows(3);
   127         $desc_input->setCols(37);
   128         $desc_input->setTitle(
$lng->
txt(
"description"));
   129         $desc_input->setRequired(
false);
   134         $mods->
setValue($this->layout_object->getModules());
   137             $mods->addOption($mod);
   140         $form_gui->addItem($title_input);
   141         $form_gui->addItem($desc_input);
   142         $form_gui->addItem($mods);
   144         $form_gui->addCommandButton(
"updateProperties", 
$lng->
txt($a_mode));
   160         $this->layout_object->setTitle(
$form->
getInput(
'pgl_title'));
   161         $this->layout_object->setDescription(
$form->
getInput(
'pgl_desc'));
   163         $this->layout_object->update();
   165         $this->tpl->setOnScreenMessage(
'info', 
$lng->
txt(
"saved_successfully"));
   178         $ilCtrl->setParameterByClass(
"ilpagelayoutgui", 
"obj_id", $this->obj->getId());
   181             $this->
lng->txt(
"settings"),
   182             $ilCtrl->getLinkTarget($this, 
"properties")
   192     public static function getTemplateSelection(
string $module): ?
Radio   197         $lng = $DIC->language();
   199         if (count($arr_templates) == 0) {
   202         $radio = 
$f->input()->field()->radio(
$lng->
txt(
"cont_page_template"), 
"");
   205         foreach ($arr_templates as $templ) {
   207                 $first = $templ->getId();
   209             $templ->readObject();
   210             $radio = $radio->withOption($templ->getId(), $templ->getPreview(), $templ->getTitle());
   212         $radio = $radio->withValue($first);
   218         $this->
ctrl->redirectByClass(
"ilpagelayoutadministrationgui", 
"listLayouts");
 
properties(string $a_mode="save", ilPropertyFormGUI $a_form=null)
Edit page layout properties. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
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...
 
Class ilPageLayoutGUI GUI class. 
 
setTabs(ilTabsGUI $a_tabs=null)
output tabs 
 
setVariable(string $variable, $value='')
Sets the given variable to the given value. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilPageLayout $layout_object
 
setTitleIcon(string $a_icon_path, string $a_icon_desc="")
set title icon 
 
setTabActive(string $a_id)
 
setValue(string $a_value)
 
static activeLayouts(int $a_module=0)
Get active layouts. 
 
ilGlobalTemplateInterface $tpl
 
static getAvailableModules()
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
static getSyntaxStylePath()
 
setTitle(string $a_title, bool $hidden=false)
Sets title in standard template. 
 
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading) 
 
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block. 
 
__construct(Container $dic, ilPlugin $plugin)
 
setDescription(string $a_descr)
Sets description below title in standard template. 
 
This class represents a text area property in a property form. 
 
__construct(string $a_parent_type, int $a_id=0, int $a_old_nr=0, bool $a_prevent_get_id=false, string $a_lang="")
 
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block. 
 
addCss(string $a_css_file, string $media="screen")
Add a css file that should be included in the header.