Packages

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

Classes

  • NCliRouter
  • NRoute
  • NRouteList
  • NSimpleRouter
  • Overview
  • Package
  • Class
  • Tree

Class NRouteList

The router broker.

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

Maps HTTP request to a Request object.

Maps HTTP request to a Request object.

Parameters

$httpRequest
IHttpRequest

Returns

NPresenterRequest|null

Implementation of

IRouter::match
public string|null
# constructUrl( NPresenterRequest $appRequest, NUrl $refUrl )

Constructs absolute URL from Request object.

Constructs absolute URL from Request object.

Parameters

$appRequest
NPresenterRequest
$refUrl
NUrl

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

Implementation of

ArrayAccess::offsetSet
Methods inherited from NArrayList
count(), getIterator(), offsetExists(), offsetGet(), offsetUnset()
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from IRouter
ONE_WAY, SECURED
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0