Class

FileUploadConfig

Package: PHPBoost\Config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2016 12 14 Since: PHPBoost 3.0 - 2010 08 09 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Sebastien LARTIGUE babsolune@phpboost.com Located at: phpboost/config/FileUploadConfig.class.php
AbstractConfigData implements ConfigData
Extended by FileUploadConfig
Methods summary
public
public
public
public
public
public
public
public
public
public
public
# set_authorized_extensions( array $array )
public
public string[mixed]
# get_default_values( )

Returns a map associating to each property name the corresponding default value

public static FileUploadConfig
# load( )

Returns the configuration.

public static
# save( )

Saves the configuration in the database. Has it become persistent.

Constants summary
string AUTHORIZATION_ENABLE_INTERFACE_FILES
# 'authorization_enable_interface_files'
string MAXIMUM_SIZE_UPLOAD
# 'maximum_size_upload'
string ENABLE_BANDWIDTH_PROTECTION
# 'enable_bandwidth_protect'
string DISPLAY_FILE_THUMBNAIL
# 'display_file_thumbnail'
string AUTHORIZED_EXTENSIONS
# 'authorized_extensions'
integer AUTH_FILES_BIT
# 0x01
Annonces