Namespaces

  • 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

Classes

  • CliRouter
  • Route
  • RouteList
  • SimpleRouter
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class RouteList

The router broker.

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

Maps HTTP request to a Request object.

Maps HTTP request to a Request object.

Returns

Nette\Application\Request|null

Implementation of

Nette\Application\IRouter::match()
public string|null
# constructUrl( Nette\Application\Request $appRequest, Nette\Http\Url $refUrl )

Constructs absolute URL from Request object.

Constructs absolute URL from Request object.

Returns

string|null

Implementation of

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

Adds the router.

Adds the router.

Parameters

$index
mixed
$route
Nette\Application\IRouter

Throws

OutOfRangeException

Overrides

Nette\ArrayList::offsetSet()
public string
# getModule( )

Returns

string
Methods inherited from Nette\ArrayList
count(), getIterator(), offsetExists(), offsetGet(), offsetUnset()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from Nette\Application\IRouter
ONE_WAY, SECURED
Magic properties summary
public read-only string $module
#
Magic properties inherited from Nette\ArrayList
$iterator
Magic properties inherited from Nette\Object
$reflection
Nette 2.0 API documentation generated by ApiGen 2.8.0