Hi,

I found something that was a great help. Posting it here for anyone
else who may search for the same problem:

http://book.cakephp.org/view/249/custom-query-pagination



On 2 Apr, 16:01, rikdc <[EMAIL PROTECTED]> wrote:
> Hello,
>
> This is more a conceptual question. I thought the "best" place to
> perform a search on the database would have been within a model so a
> findBySearch() method exists. But this isn't too hot with linking in
> with the controller and pagination.
>
> Unless I had a Model->constructSearchParameters() or even Model-
>
> >findBySearch($controller) .. but yik.
>
> Any thoughts or inspiration from people here?
>
> Cheers,
> R
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to