> For the life of me I can't find anywhere how to pull data without all
> the associations. For example, I've set up a DB with the table "tags"
> and it contains an ID and NAME fields only. The HABTM associations get
> pulled. I only want a list of the names of all tags.
>
> $this->Tag->findAll();

$tag_list = $this->Tag->generateList ();

http://manual.cakephp.org/chapter/models - section 2, retrieving your data

hth

jon

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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