Summary
- File
- Package hierarchy PHPBoost\Config
- Class hierarchy \AbstractConfigData \FileUploadConfig
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 |
get_authorization_enable_interface_files()
| None found |
set_authorization_enable_interface_files(array $array)
| array | $array |
| None found |
is_authorized_to_access_interface_files()
| None found |
get_maximum_size_upload()
| None found |
set_maximum_size_upload( $size)
| $size |
| None found |
get_enable_bandwidth_protect()
| None found |
set_enable_bandwidth_protect( $value)
| $value |
| None found |
get_display_file_thumbnail()
| None found |
set_display_file_thumbnail( $value)
| $value |
| None found |
get_authorized_extensions()
| None found |
set_authorized_extensions(array $array)
| array | $array |
| None found |
get_authorized_picture_extensions()
| None found |
load() : \FileUploadConfig
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 |
AUTHORIZATION_ENABLE_INTERFACE_FILES = 'authorization_enable_interface_files'
| None found |
MAXIMUM_SIZE_UPLOAD = 'maximum_size_upload'
| None found |
ENABLE_BANDWIDTH_PROTECTION = 'enable_bandwidth_protect'
| None found |
DISPLAY_FILE_THUMBNAIL = 'display_file_thumbnail'
| None found |
AUTHORIZED_EXTENSIONS = 'authorized_extensions'
| None found |
AUTH_FILES_BIT = 1
| None found |