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)
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
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
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::
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'