Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • Acl
  • App
  • Coast
  • Collection
  • Config
  • Controller
  • Csp
  • Csrf
  • Dir
  • Feed
  • File
  • Filter
  • Http
  • Image
  • Lazy
  • Model
  • Path
  • Request
  • Resolver
  • Response
  • Router
  • Session
  • Sitemap
  • Transformer
  • Url
  • Validator
  • View
  • Xml

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class Config

PHP file based config object.

Namespace: Coast
Located at Config.php
Methods summary
public
# __construct( array $files = array() )

Construct a new config object.

Construct a new config object.

Parameters

$files
List of PHP files to parse.
public mixed
# load( string $files )

Load files.

Load files.

Parameters

$files
$name

Returns

mixed
public mixed
# fromArray( array $opts )

Import from an array.

Import from an array.

Parameters

$opts
$name

Returns

mixed
public
# opt( $name, $value = null )
public
# opts( array $opts = null )
public
# __get( $name )
public
# __isset( $name )
Properties summary
protected array $_opts

Config opts.

Config opts.

# []
Coast API Documentation API documentation generated by ApiGen