-- aoohralex <[hidden email]> wrote
(on Thursday, 17 September 2009, 08:13 AM -0700):
> url($urlOptions, $name, $reset) - what is $name ? I understand $urlOptions
> and $reset. I don't understand $name.
$name is the name of a route you have attached to the router. If you use
"null", it will attempt to use whatever route was matched in the current
request. "default" is the default route.
RE: url($urlOptions, $name, $reset) - what is $name ?
El vie, 18-09-2009 a las 05:41 -0700, aoohralex escribió:
> I have read and I still don't understand sense of second argument. Maybe
> tell me what should I write in second argument if I use only url's:
> http://localhost/CONTROLLER/ACTION/KEY/VALUE ??
If you don't want to use any specific route, you can just use "default"
as the second argument.