PHP Class Basecoat\Routing

Afficher le fichier Open project: shutterstock/basecoat

Méthodes publiques

Свойство Type Description
$counter
$current
$hooks
$max_routes
$profiling public $last = null;
$profiling_enabled
$requested_route public $requested_path = null;
$requested_url
$run_routes
$running_route

Méthodes publiques

Méthode Description
__construct ( $basecoat, $routes = null )
addAfterEach ( $func )
addBeforeEach ( $func )
addRoutes ( $routes )
clearAfterEach ( )
clearBeforeEach ( )
parseUrl ( $url = null )
processHooks ( $hook )
routeClose ( )
run ( $route )
runNext ( )
set ( $setting, $val )
setDefault ( $route_name )
setError ( $route_name )
setRoutes ( $routes )
setRunRoutes ( $run_routes = [], $set_current = false )
setStatic ( $route_name )
setUndefined ( $route_name )
setUrl ( $url = null )

Private Methods

Méthode Description
logProfiling ( $route_name )

Method Details

__construct() public méthode

public __construct ( $basecoat, $routes = null )

addAfterEach() public méthode

public addAfterEach ( $func )

addBeforeEach() public méthode

public addBeforeEach ( $func )

addRoutes() public méthode

public addRoutes ( $routes )

clearAfterEach() public méthode

public clearAfterEach ( )

clearBeforeEach() public méthode

public clearBeforeEach ( )

parseUrl() public méthode

public parseUrl ( $url = null )

processHooks() public méthode

public processHooks ( $hook )

routeClose() public méthode

public routeClose ( )

run() public méthode

public run ( $route )

runNext() public méthode

public runNext ( )

set() public méthode

public set ( $setting, $val )

setDefault() public méthode

public setDefault ( $route_name )

setError() public méthode

public setError ( $route_name )

setRoutes() public méthode

public setRoutes ( $routes )

setRunRoutes() public méthode

public setRunRoutes ( $run_routes = [], $set_current = false )

setStatic() public méthode

public setStatic ( $route_name )

setUndefined() public méthode

public setUndefined ( $route_name )

setUrl() public méthode

public setUrl ( $url = null )

Property Details

$counter public_oe property

public $counter

$current public_oe property

public $current

$hooks public_oe property

public $hooks

$max_routes public_oe property

public $max_routes

$profiling public_oe property

public $last = null;
public $profiling

$profiling_enabled public_oe property

public $profiling_enabled

$requested_route public_oe property

public $requested_path = null;
public $requested_route

$requested_url public_oe property

public $requested_url

$run_routes public_oe property

public $run_routes

$running_route public_oe property

public $running_route