Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NAppForm
  • NApplication
  • NCliRouter
  • NControl
  • NDownloadResponse
  • NForwardingResponse
  • NJsonResponse
  • NLink
  • NMultiRouter
  • NPresenter
  • NPresenterComponent
  • NPresenterLoader
  • NPresenterRequest
  • NRedirectingResponse
  • NRenderResponse
  • NRoute
  • NSimpleRouter

Interfaces

  • IPartiallyRenderable
  • IPresenter
  • IPresenterLoader
  • IPresenterResponse
  • IRenderable
  • IRouter
  • ISignalReceiver
  • IStatePersistent

Exceptions

  • NAbortException
  • NApplicationException
  • NBadRequestException
  • NBadSignalException
  • NForbiddenRequestException
  • NInvalidLinkException
  • NInvalidPresenterException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NMultiRouter

The router broker.

ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
Extended by NCollection implements ICollection
Extended by NArrayList implements IList
Extended by NMultiRouter implements IRouter
Package: Nette\Application
Author: David Grudl
Located at Application/Routers/MultiRouter.php
Methods summary
public
# __construct( )

Throws

InvalidArgumentException
public NPresenterRequest|null
# match( IHttpRequest $httpRequest )

Maps HTTP request to a PresenterRequest object.

Maps HTTP request to a PresenterRequest object.

Parameters

$httpRequest
IHttpRequest

Returns

NPresenterRequest|null

Implementation of

IRouter::match
public string|null
# constructUrl( NPresenterRequest $appRequest, IHttpRequest $httpRequest )

Constructs absolute URL from PresenterRequest object.

Constructs absolute URL from PresenterRequest object.

Parameters

$appRequest
IHttpRequest
$httpRequest
NPresenterRequest

Returns

string|null

Implementation of

IRouter::constructUrl
Methods inherited from NArrayList
indexOf(), insertAt(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), remove()
Methods inherited from NCollection
__call(), __callStatic(), __clone(), __get(), __isset(), __set(), __unset(), append(), beforeAdd(), clear(), contains(), exchangeArray(), freeze(), getItemType(), getIterator(), getReflection(), import(), isFrozen(), search(), setArray(), updating()
Methods inherited from ArrayObject
asort(), count(), getArrayCopy(), getFlags(), getIteratorClass(), ksort(), natcasesort(), natsort(), serialize(), setFlags(), setIteratorClass(), uasort(), uksort(), unserialize()
Constants inherited from ArrayObject
ARRAY_AS_PROPS, STD_PROP_LIST
Constants inherited from IRouter
ONE_WAY, SECURED
Properties inherited from NArrayList
$base
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0