takes an ID, which is pretty much the last word on conditions--there
can only be one. As for the contain, I suppose you'd need to unbind
whatever you don't want.
The other option is to just use find()
On Mon, Apr 27, 2009 at 11:03 AM, Dave Maharaj :: WidePixels.com
<dave@widepixels.com> wrote:
> Wondering if there is a way to use the same conditions, fields, contain in a
> read()? So you can limit the tables returnng data?
>
> if (empty($this->data)) {
> $this->data = $this->User->read(null, $id);
> }
>
> Dave
> >
>
--~--~---------~--~----~------------~-------~--~----~
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