Class Configure
Allows statically configured settings to be stored and accessed on a per-use basis. The purpose of this class is to utilize globally set configurations from a single location. Configurations can be set by default in /config/core.php, or may be set at run time from anywhere within your application.
Methods summary
protected
|
|
public static
mixed
|
|
public static
boolean
|
|
public static
|
#
free( string $name )
Frees the setting given by $name, if it exists. All settings no longer in use should be freed using this method whenever possible |
public static
|
#
set( string $name, mixed $value )
Adds the given $value to the configuration using the $name given |
public static
|
#
load( string $file, string $config_dir = CONFIGDIR )
Loads the given file and extracts all $config array elements, adding each to Configure::$config |
public static
|
Magic methods summary
Properties summary
private static
array
|
$config |
#
All configured settings handled by this class |