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
Extended by Configurations\CI\Configuration
Namespace: Configurations\CI
Located at ci/configuration.php

Methods summary

Methods inherited from Core\Base\Configuration

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

Properties summary

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' => true, 'database' => array( 'table_name' => 'cache', 'fields' => array( 'cache_key', 'value', 'expire', ), ), 'redis' => array( 'scheme' => 'tcp', 'host' => 'localhost', 'port' => 6379, 'timeout' => 5.0, ), )
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' => 'mysql', 'port' => 3306, 'user' => 'root', 'password' => 'dbs1cret', 'name' => 'silla_io', 'tables_prefix' => '', 'encryption_key' => '25c6c7ff35bd13b0ff9979b151f2136c', 'crypt_vector' => 'dasn312321nssa1k', )

Properties inherited from Configurations\Development\Configuration

$ASSETS, $CAPTCHA, $MAILER, $RENDER

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