A

RouteList::add() — Method in class RouteList

Adds a router.

RouteList::addRoute() — Method in class RouteList

Creates a Route from the mask and adds it to the list.

C

Route::constructUrl() — Method in class Route
RouteList::completeParameters() — Method in class RouteList
RouteList::constructUrl() — Method in class RouteList
Router::constructUrl() — Method in class Router

Constructs an absolute URL from parameters, or null if the route cannot generate it.

SimpleRouter::constructUrl() — Method in class SimpleRouter

D

$ Route#defaultMeta — Property in class Route

E

RouteList::end() — Method in class RouteList

Returns the parent RouteList, used to end a withDomain()/withPath() chain.

G

Route::getMask() — Method in class Route
Route::getMetadata() — Method in class Route
Route::getDefaults() — Method in class Route
Route::getConstantParameters() — Method in class Route

Returns parameters that must have a specific fixed value for the route to match.

RouteList::getRouters() — Method in class RouteList

Returns all routers in this list.

RouteList::getFlags() — Method in class RouteList

Returns the flags (e.g. oneWay) for each router in this list.

RouteList::getDomain() — Method in class RouteList
RouteList::getPath() — Method in class RouteList
SimpleRouter::getDefaults() — Method in class SimpleRouter

M

Route::match() — Method in class Route
RouteList::match() — Method in class RouteList
RouteList::modify() — Method in class RouteList
Router::match() — Method in class Router

Matches an HTTP request and returns its parameters, or null if the route does not match.

SimpleRouter::match() — Method in class SimpleRouter

P

Route::param2path() — Method in class Route

Encodes a parameter value for use in a URL path segment, leaving allowed characters unencoded.

$ RouteList#parent — Property in class RouteList
RouteList::prepareRequest() — Method in class RouteList
RouteList::prepend() — Method in class RouteList

Prepends a router.

R

Route — Class in namespace Nette\Routing

Bidirectional route mapping between HTTP requests and parameter arrays using a URL mask.

RouteList — Class in namespace Nette\Routing

Router collection that tries each router in sequence and caches URL construction lookups.

Router — Class in namespace Nette\Routing

Bidirectional router converting between HTTP requests and parameter arrays.

S

SimpleRouter — Class in namespace Nette\Routing

The bidirectional route for trivial routing via query parameters.

W

RouteList::warmupCache() — Method in class RouteList

Builds an internal lookup index of routers grouped by their most discriminating constant parameter.

RouteList::withDomain() — Method in class RouteList

Creates a child RouteList scoped to the given domain and adds it to this list.

RouteList::withPath() — Method in class RouteList

Creates a child RouteList scoped to the given path prefix and adds it to this list.

_

Route::__construct() — Method in class Route
RouteList::__construct() — Method in class RouteList
SimpleRouter::__construct() — Method in class SimpleRouter