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 Router

Coast\Router implements Coast\App\Access, Coast\App\Executable uses Coast\App\Access\Implementation, Coast\App\Executable\Implementation
Namespace: Coast
Located at Router.php
Methods summary
public
# __construct( array $options = array() )
public
# prefix( $prefix = null )
public
# suffix( $suffix = null )
public
# params( array $params = null )
public
# target( Coast\Router\Routable $target = null )
public
# routes( array $routes = array() )
public
# route( $name, $methods = null, $path = null, $params = null, Closure $target = null )
public
# alias( $name, $value = null )
public
# aliases( array $aliases = null )
public
# match( $method, $path )
public
# reverse( $name, array $params = array() )
public
# reverseData( $name, array $params = array() )
public
# execute( Coast\Request $req, Coast\Response $res )

Implementation of

Coast\App\Executable::execute()
Methods inherited from Coast\App\Access
__call(), __get(), __isset(), __set(), __unset(), app()
Methods inherited from Coast\App\Executable
postExecute(), preExecute()
Methods used from Coast\App\Access\Implementation
__call(), __get(), __isset(), __set(), __unset(), app()
Methods used from Coast\App\Executable\Implementation
postExecute(), preExecute()
Constants summary
string METHOD_ALL
# 'ALL'
string METHOD_GET
# \Coast\Request::METHOD_GET
string METHOD_POST
# \Coast\Request::METHOD_POST
string METHOD_PUT
# \Coast\Request::METHOD_PUT
string METHOD_DELETE
# \Coast\Request::METHOD_DELETE
string TYPE_STATIC
# 'static'
string TYPE_REGEX
# 'regex'
Properties summary
protected $_prefix
#
protected $_suffix
#
protected array $_params
# []
protected $_target
#
protected array $_routes
# []
protected array $_aliases
# []
Properties used from Coast\App\Access\Implementation
$_app
Coast API Documentation API documentation generated by ApiGen