Свойство | Тип | Описание | |
---|---|---|---|
$counter | |||
$current | |||
$hooks | |||
$max_routes | |||
$profiling | public $last = null; | ||
$profiling_enabled | |||
$requested_route | public $requested_path = null; | ||
$requested_url | |||
$run_routes | |||
$running_route |
Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
logProfiling ( $route_name ) |