Re: New Router usage as of 5535 $Route->connectNamed()

2007-09-19 Thread [EMAIL PROTECTED]
I deduced from this line that it needs 'sort', 'direction', and 'order' $url = am(array('sort' => $key, 'direction' => $dir), $url, array('order' => null)); On Sep 20, 12:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In light of this, anyone know which named variables (if any)

Re: New Router usage as of 5535 $Route->connectNamed()

2007-09-19 Thread [EMAIL PROTECTED]
In light of this, anyone know which named variables (if any) are required for PaginatorHelper::sort() to work? On Sep 13, 5:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 13, 5:13 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > I still don't really know whether this is

Re: New Router usage as of 5535 $Route->connectNamed()

2007-09-13 Thread [EMAIL PROTECTED]
On Sep 13, 5:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I still don't really know whether this is all by design, but in order > to get PaginatorHelper working I had to add elements for 'page' and > also 'step', which Paginator uses, in order for links to form > correctly. > > Router

Re: New Router usage as of 5535 $Route->connectNamed()

2007-09-11 Thread Aaron Shafovaloff
Wow... connectNamed... huge help! Didn't know about this! On Sep 10, 4:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Originally I thought this was an optional new feature, but for those > who were passing arrays with arbitrary named values to Router::url() > and its friends HtmlHelper::

Re: New Router usage as of 5535 $Route->connectNamed()

2007-09-10 Thread [EMAIL PROTECTED]
Originally I thought this was an optional new feature, but for those who were passing arrays with arbitrary named values to Router::url() and its friends HtmlHelper::url() and HtmlHelper::link(), note that the parameter must be defined with a $Route->connectNamed() in routes.php or the router won'