$this->Tag->recursive = 0;
$this->Tag->findAll();

-or-

$this->Tag->findAll(null, null, null, null, null, 0);

On Feb 27, 1:00 pm, "Dave" <[EMAIL PROTECTED]> wrote:
> 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();
>
> pulls all the associated records as well. I just want a list of the
> tag names plopped into an array.
>
> $this->Tag->read();
>
> maybe? I'm lost on this one.


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