Silla.IO API
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • App
    • Controllers
  • CMS
    • Controllers
    • Helpers
    • Models
  • Configurations
    • CI
    • Development
    • Production
    • Staging
  • Core
    • Base
    • CLI
      • Cache
      • DB
    • Helpers
    • Modules
      • Cache
        • Adapters
        • Interfaces
      • Crypt
      • DB
        • Adapters
        • Decorators
          • Interfaces
        • Features
          • Paginator
        • Interfaces
      • Registry
      • Render
        • Adapters
        • Interfaces
      • Router
      • Session
        • Adapters
        • Interfaces
  • None
  • Tasks
    • DB

Classes

  • Configuration

Class Configuration

Configuration class implementation.

Core\Base\Configuration
Extended by Configurations\Production\Configuration
Extended by Configurations\Staging\Configuration
Extended by Configurations\Development\Configuration

Direct known subclasses

Configurations\CI\Configuration

Namespace: Configurations\Development
Located at development/configuration.php

Methods summary

Methods inherited from Core\Base\Configuration

__clone(), __construct(), getInstance(), mode(), modes(), modifyPath(), modifyURL(), paths(), setMode(), setupModes(), urls()

Properties summary

public boolean[] $ASSETS

$ASSETS Assets Management options flags.

$ASSETS Assets Management options flags.

Example

cache Whether to cache all assets groups on the file system.
combine Whether to combine all assets groups in one file.
optimize Whether to minify assets.
# array( 'cache' => false, 'combine' => false, 'optimize' => false, )
public array $CACHE

$CACHE Cache related configuration options.

$CACHE Cache related configuration options.

Example

adapter Caching adapter name.
routes Whether to cache Routing routes.
labels Whether to cache Localisation labels.
db_schema Whether to cache Database Entity tables schemas.
database Database cache adapter database schema.
redis Redis cache adapter connection parameters.
# 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 string[] $RENDER

$RENDER Render engine configuration.

$RENDER Render engine configuration.

Example

adapter Render adapter name.
# array( 'adapter' => 'Core\Modules\Render\Adapters\Smarty', 'options' => array( 'strip_white_space' => false, ), )
public (int|string)[] $MAILER

$MAILER Mailer configuration options.

$MAILER Mailer configuration options.

Example

type Type of the mailing infrastructure to use(Sendmail|SMTP).
identity Mailer identity signature.
credentials Mailer service credentials.
# array( 'type' => 'Sendmail', 'debug' => true, '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).

$DB DSN (Data source name).

Example

adapter Adapter type (pdo_mysql|mysql|sqllite).
host Connection host name.
port Connection host port.
user User name.
password Password phrase.
name Database name.
tables_prefix Storage tables prefix.
encryption_key Database encryption key.
crypt_vector Initialization Vector value.
# array( 'adapter' => 'pdo_mysql', 'host' => '<DB_HOST>', 'port' => 3306, 'user' => '<DB_USER>', 'password' => '<DB_PASSWORD>', 'name' => '<DB_NAME>', 'tables_prefix' => '', 'encryption_key' => '25c6c7ff35bd13b0ff9979b151f2136c', 'crypt_vector' => 'dasn312321nssa1k', )
public string[] $CAPTCHA

Captcha credentials.

Captcha credentials.

Link

https://www.google.com/recaptcha/

Example

enabled Flag whether to use Captcha or Not.
public_key Public key for Captcha.
private_key Private key for Captcha.
# array( 'enabled' => true, 'public_key' => '6LfSevQSAAAAAHUbl-gTGwQHi4C9UW219V0Nn6J5', 'private_key' => '6LfSevQSAAAAAB6H3f9OznBVUGBp0iMMZWX2OSFH', )

Properties inherited from Configurations\Production\Configuration

$CAPTCHA_LOGIN_ATT, $ROUTER, $USER_AUTH, $USER_MAX_LOGIN_ATT

Properties inherited from Core\Base\Configuration

$I18N, $PATHS, $SESSION, $URLS, $instance

Silla.IO API API documentation generated by ApiGen