Class MultiRouter (namespace Nette\Application)
The router broker.
ArrayObject | --Collection | --ArrayList | --MultiRouter
Implements interfaces:
| Method Summary | |
|---|---|
| string|NULL |
constructUrl
(PresenterRequest $request, $context)
Constructs absolute URL from PresenterRequest object.
|
| PresenterRequest|NULL |
match
($context)
Maps HTTP request to a PresenterRequest object.
|
| Methods Inherited From ArrayList |
|---|
| ArrayList::indexOf(), ArrayList::insertAt(), ArrayList::offsetExists(), ArrayList::offsetGet(), ArrayList::offsetSet(), ArrayList::offsetUnset(), ArrayList::remove() |
| Methods Inherited From ArrayObject (Internal Class) |
|---|
| constructor __construct ( $array ), append ( $value ), asort ( ), count ( ), exchangeArray ( $array ), getArrayCopy ( ), getFlags ( ), getIterator ( ), getIteratorClass ( ), ksort ( ), natcasesort ( ), natsort ( ), offsetExists ( $index ), offsetGet ( $index ), offsetSet ( $index, $newval ), offsetUnset ( $index ), setFlags ( $flags ), setIteratorClass ( $iteratorClass ), uasort ( $cmp_function ), uksort ( $cmp_function ) |
| Constant Summary |
|---|
| Constants Inherited From ArrayObject (Internal Class) |
|---|
| ARRAY_AS_PROPS = 2, STD_PROP_LIST = 1 |
| Variable Summary | ||||
|---|---|---|---|---|
| protected string | $itemType | 'IRouter' |
line 44 type (class, interface, PHP type) |
|
| IRouter | $matched | |
line 41 |
|
| Method Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 76 constructUrlpublic string|NULL constructUrl (PresenterRequest $request, $context) Constructs absolute URL from PresenterRequest object. Implementation of:
|
|||||||||||||||
|
line 56 matchpublic PresenterRequest|NULL match ($context) Maps HTTP request to a PresenterRequest object. Implementation of:
|
|||||||||||||||