I would like to return some fields at my requests find ( 'all').
I wish I could define the model in order not to every request, return
the fields that I would like to see return.
I have belongsto class products and categories that hasmany products.
Class I and which belongto varieties and varieties that belonsto
category.
In each table wholesale I fields id, libel, created, modified
I can not find the solution to paginate in and find ( 'all') than it
returns me that the fields id, but not libel fields created and
modified and whatever the level of recursion.
Thank you in advance for your help
A.B
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment