Class Configuration
Class Configuration Definition.
Direct known subclasses
Indirect known subclasses
Configurations\CI\Configuration
,
Configurations\Development\Configuration
,
Configurations\Staging\Configuration
Methods summary
protected
|
|
final public
|
|
final public
mixed
|
|
final public
mixed
|
|
final public
array
|
|
final public
mixed
|
|
final public static
|
|
final public
|
|
final protected
array
|
|
final public
|
|
final public
|
Properties summary
public
boolean[]
|
$ASSETS
$ASSETS Assets Management options flags. |
#
array(
'cache' => false,
'combine' => false,
'optimize' => false,
)
|
public
string[]
|
$RENDER
$RENDER Render engine configuration. |
#
array(
'adapter' => 'Core\Modules\Render\Adapters\Smarty',
'options' => array(
'strip_white_space' => false,
),
)
|
public
string[]
|
$ROUTER
$ROUTER Router related configuration options. |
#
array(
'rewrite' => true,
'separator' => '/',
'variables_prefix' => ':',
)
|
public
array
|
$CACHE
$CACHE Cache related configuration options. |
#
array(
'adapter' => 'FileSystem',
'routes' => false,
'labels' => false,
'db_schema' => false,
'database' => array(
'table_name' => 'cache',
'fields' => array(
'cache_key',
'value',
'expire',
),
),
'redis' => array(
'scheme' => 'tcp',
'host' => '127.0.0.1',
'port' => 6379,
'timeout' => 5.0,
),
)
|
public
(int|string)[]
|
$MAILER
$MAILER Mailer configuration options. |
#
array(
'type' => 'Sendmail',
'identity' => array(
'name' => 'Athlon Production',
'email' => 'hi@athlonproduction.com',
),
'credentials' => array(
'smtp' => array(
'host' => 'localhost',
'port' => '25',
'user' => '',
'password' => '',
),
),
)
|
public
(int|string)[]
|
$DB
$DB DSN (Data source name). |
#
array(
'adapter' => 'pdo_mysql',
'host' => 'localhost',
'port' => 3306,
'user' => '',
'password' => '',
'name' => '',
'tables_prefix' => '',
'encryption_key' => '25c6c7ff35bd13b0ff9979b151f2136c',
'crypt_vector' => 'dasn312321nssa1k',
)
|
public
array
|
$I18N
$I18N Localisation configuration options if supported. |
#
array(
'support' => false,
'default' => 'en_US',
'locales' => array(
'en_US' => 'English (American)',
),
)
|
public
(int|string)[]
|
$SESSION
$SESSION Session related configuration options. |
#
array(
'adapter' => 'Standard',
'name' => 'ATHSESSID',
'ttl' => 0,
'lifetime' => 60,
'key_length' => 32,
'transparency' => false,
'parameter' => 'ath',
)
|
protected
array
|
$PATHS
$PATHS File Paths definition. |
#
array(
'root' => null,
'mode' => null,
'labels' => null,
'cache' => null,
'tmp' => null,
'public' => null,
'uploads' => null,
'vendor' => null,
'resources' => null,
'views' => array(),
'assets' => array(),
)
|
protected
string[]
|
$URLS
$URLS URLS paths definition. |
#
array(
'full' => null,
'relative' => null,
'protocol' => null,
'assets' => null,
'public' => null,
'uploads' => null,
)
|
private
array
|
$MODES
$MODES Silla.IO Runtime Modes. Array representation of supported Silla.IO modes. Default mode(most common) is the last element the array. |
#
array(
array(
'name' => 'cms',
'location' => 'cms/',
'url' => 'cms/',
),
array(
'name' => 'app',
'location' => 'app/',
'url' => '/',
),
)
|
private
array
|
$MODE
$MODE Current mode. |
#
array()
|
protected static
|
$instance
$instance Reference to the current instance of the Configuration object. |
#
null
|