Try Named Parameters [1], only cake 1.2 AFAIK

[1] http://bakery.cakephp.org/articles/view/passing-named-parameters

-- 
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net






On 8/1/07, omer <[EMAIL PROTECTED]> wrote:
>
>
> (cakephp nubee, patience please ;) )
>
> Trying to keep up with cakePHP's RESTful approach,
> I can't quite figure out how to build the URL for a query that is a
> bit more complex than "get object X", or "get all objects X created
> over last week".
>
> For example, let's say I have a Posts table, that it has a has-and-
> belongs-to-many connection to a Tags table.
>
> Now, how do I RESTfully, simply, build a URL route that will say:
> "Get me all posts added during the last week, that are linked to both
> the tag 'Fun' and the tag 'Games'"?
>
>
> I'm can think of a few not-so-beautiful and not-very-aesthetic ways of
> doing it,
> but I'm sure there's a more elegant way...
>
> anyone?
>
> thanx,
> Omer.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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