19 declare(strict_types=1);
31 private ObjectTypeSpecificPropertiesFactory $object_type_specific_properties_factory
37 if ($object_id === 0) {
42 $object_type_specific_properties = $this->object_type_specific_properties_factory->getForObjectTypeString($type);
44 if ($object_type_specific_properties !==
null) {
45 $providers = $object_type_specific_properties->getProviders();
54 $this->custom_icon_factory->getByObjId($object_id),
64 throw new \Exception(
'The current configuration cannot be saved.');
116 $hide_header_icon_and_title = $visibility ?
'' :
'1';
119 'hide_header_icon_and_title',
120 $hide_header_icon_and_title
131 $hide_top_actions = $visibility ?
'' :
'1';
146 $show_info_tab = $visibility ?
'1' :
'';
149 'cont_show_info_tab',
getPropertyInfoTabVisibility()
storeHeaderActionVisibility(int $object_id, bool $visibility)
wasPropertyTitleAndIconVisibilityUpdated()
getPropertyHeaderActionVisibility()
wasPropertyHeaderActionVisbilityUpdated()
getInfoTabVisibility(int $object_id)
static _lookupValue(string $a_module, string $a_keyword)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getPropertyTitleAndIconVisibility()
getDefaultAdditionalProperties()
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
storeTitleAndIconVisibility(int $object_id, bool $visibility)
store(ilObjectAdditionalProperties $properties)
storeInfoTabVisibility(int $object_id, bool $visibility)
__construct(private ilObjectCustomIconFactory $custom_icon_factory, private ObjectTypeSpecificPropertiesFactory $object_type_specific_properties_factory)
static _lookupContainerSetting(int $a_id, string $a_keyword, ?string $a_default_value=null)
wasPropertyInfoTabVisbilityUpdated()
storeIcon(ilObjectPropertyIcon $property_icon)
static _lookupType(int $id, bool $reference=false)
getHeaderActionVisibility(int $object_id)
getTitleAndIconVisibility(int $object_id)