Summary
- File
- Package hierarchy PHPBoost\Config
- Class hierarchy \AbstractConfigData \CookieBarConfig
This is a default and minimal implementation of the ConfigData interface.
This is a default and minimal implementation of the ConfigData interface.
__construct()
Constructs a AbstractConfigData object
None found |
synchronize()
This method is not used in the configuration context.
{@inheritdoc}
None found |
set_default_values()
Redefine this method if you want to avoid getting errors while asking values.
If some entries doesn't exist, they can be created here.
None found |
get_property(string $name) : string
Reads a property's value.
string | $name | Name of the property to read |
the read value
None found |
set_property(string $name, string $value)
Sets a property value. If the property exists, it overrides its value, otherwise, it creates an entry for this property.
string | $name | Name of the property |
string | $value | Value of the property |
None found |
get_default_values() : \string[mixed]
Returns a map associating to each property name the corresponding default value
None found |
enable_cookiebar()
None found |
disable_cookiebar()
None found |
is_cookiebar_enabled()
None found |
get_cookiebar_duration()
None found |
set_cookiebar_duration( $value)
$value |
None found |
get_cookiebar_tracking_mode()
None found |
set_cookiebar_tracking_mode( $value)
$value |
None found |
get_cookiebar_content()
None found |
set_cookiebar_content( $value)
$value |
None found |
get_cookiebar_aboutcookie_title()
None found |
set_cookiebar_aboutcookie_title( $value)
$value |
None found |
get_cookiebar_aboutcookie_content()
None found |
set_cookiebar_aboutcookie_content( $value)
$value |
None found |
load() : \CookieBarConfig
Returns the configuration.
None found |
save()
Saves the configuration in the database. Has it become persistent.
None found |
get_default_value( $property)
$property |
None found |
$properties_map :
None found |
COOKIEBAR_ENABLED = 'cookiebar_enabled'
None found |
COOKIEBAR_DURATION = 'cookiebar_duration'
None found |
COOKIEBAR_TRACKING_MODE = 'cookiebar_tracking_mode'
None found |
COOKIEBAR_CONTENT = 'cookiebar_content'
None found |
COOKIEBAR_ABOUTCOOKIE_TITLE = 'cookiebar_aboutcookie_title'
None found |
COOKIEBAR_ABOUTCOOKIE_CONTENT = 'cookiebar_aboutcookie_content'
None found |
NOTRACKING_COOKIE = 'notracking'
None found |
TRACKING_COOKIE = 'tracking'
None found |