Namespaces

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

Classes

  • AppForm
  • Application
  • CliRouter
  • Control
  • DownloadResponse
  • ForwardingResponse
  • JsonResponse
  • Link
  • MultiRouter
  • Presenter
  • PresenterComponent
  • PresenterLoader
  • PresenterRequest
  • RedirectingResponse
  • RenderResponse
  • Route
  • SimpleRouter

Interfaces

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

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • BadSignalException
  • ForbiddenRequestException
  • InvalidLinkException
  • InvalidPresenterException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class MultiRouter

The router broker.

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

Throws

InvalidArgumentException
public Nette\Application\PresenterRequest|null
# match( Nette\Web\IHttpRequest $httpRequest )

Maps HTTP request to a PresenterRequest object.

Maps HTTP request to a PresenterRequest object.

Parameters

$httpRequest
Nette\Web\IHttpRequest

Returns

Nette\Application\PresenterRequest|null

Implementation of

Nette\Application\IRouter::match
public string|null
# constructUrl( Nette\Application\PresenterRequest $appRequest, Nette\Web\IHttpRequest $httpRequest )

Constructs absolute URL from PresenterRequest object.

Constructs absolute URL from PresenterRequest object.

Parameters

$appRequest
Nette\Web\IHttpRequest
$httpRequest
Nette\Application\PresenterRequest

Returns

string|null

Implementation of

Nette\Application\IRouter::constructUrl
Methods inherited from Nette\Collections\ArrayList
indexOf(), insertAt(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), remove()
Methods inherited from Nette\Collections\Collection
__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 Nette\Application\IRouter
ONE_WAY, SECURED
Properties inherited from Nette\Collections\ArrayList
$base
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0