Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • CliRouter
  • Route
  • RouteList
  • SimpleRouter
  • Overview
  • Package
  • Class
  • Tree

Class RouteList

The router broker.

Object
Extended by ArrayList implements ArrayAccess, Countable, IteratorAggregate
Extended by RouteList implements IRouter
Package: Nette\Application\Routers
Author: David Grudl
Located at Application/Routers/RouteList.php
Methods summary
public
# __construct( $module = NULL )
public PresenterRequest|null
# match( IHttpRequest $httpRequest )

Maps HTTP request to a Request object.

Maps HTTP request to a Request object.

Parameters

$httpRequest
IHttpRequest

Returns

PresenterRequest|null

Implementation of

IRouter::match
public string|null
# constructUrl( PresenterRequest $appRequest, Url $refUrl )

Constructs absolute URL from Request object.

Constructs absolute URL from Request object.

Parameters

$appRequest
PresenterRequest
$refUrl
Url

Returns

string|null

Implementation of

IRouter::constructUrl
public
# offsetSet( mixed $index, IRouter $route )

Adds the router.

Adds the router.

Parameters

$index
mixed
$route
IRouter

Throws

OutOfRangeException

Overrides

ArrayList::offsetSet

Implementation of

ArrayAccess::offsetSet
public string
# getModule( )

Returns

string
Methods inherited from ArrayList
count(), getIterator(), offsetExists(), offsetGet(), offsetUnset()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from IRouter
ONE_WAY, SECURED
Nette Framework 2.0.1 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0