19 declare(strict_types=1);
37 private bool $title_and_icon_visibility = self::DEFAULT_TITLE_AND_ICON_VISIBILITY
43 return $this->title_and_icon_visibility;
51 $trafo = $refinery->custom()->transformation(
57 return $field_factory->checkbox($language->
txt(self::INPUT_LABEL))
66 $title_and_icon_visibility_input = new \ilCheckboxInputGUI(
67 $language->
txt(self::INPUT_LABEL),
68 'show_header_icon_and_title' 70 $title_and_icon_visibility_input->setValue(
'1');
71 $title_and_icon_visibility_input->setChecked($this->
getVisibility());
73 return $title_and_icon_visibility_input;
__construct(private bool $title_and_icon_visibility=self::DEFAULT_TITLE_AND_ICON_VISIBILITY)
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...
toForm(\ilLanguage $language, FieldFactory $field_factory, Refinery $refinery)
const DEFAULT_TITLE_AND_ICON_VISIBILITY
toLegacyForm(\ilLanguage $language)