Documentation – Routing – Custom Router
- Pavel Janda
- Member | 977
Hey,
I would like to ask you whether there is any possibility to complete the
documentation. In the Custom Router section (https://doc.nette.org/…tion/routing#…)
there is no example with what should the return data contain in the
::match()
method. Also, in the ::constructUrl()
method, there is no example what does the $params
argument contain.
Could you please complete that?
Thanks!
Pavel
- CZechBoY
- Member | 3608
According to SimpleRouter, method match
returns parsed query
string; constructUrl’s $parameters
should be dictionary of
parameters for called action.