If you always want the same Course fields returned by any Student
request, you may also use the "fields" option of the association
definition.

see http://book.cakephp.org/view/83/hasAndBelongsToMany-HABTM


Martin

On 24 juil, 14:52, Farjad <[email protected]> wrote:
> i m defining a habtm relation between students table and courses table
>
> now i want that when i call students to fetch the data particular
> fields of course table are fetched.
>
> currently all the fields of course table are fetched.
>
> can someone help or guide????
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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