What if the wanted data to be returned is based on data fields other than 
the id? It is restricting to get data based on id only. Is there some way 
to get data based on other fields of the table?

The id bit probably means that an id is being sent to the method. A 
> view method needs an id to return the single thing that is being 
> viewed whereas the index doesn't need one as it returns a list of all 
> things. 
>
> The same for each of the other methods. 
>
> Hope this helps. 
> Mike. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to