Thank you. I have noted your comment.
On Sat, Jun 21, 2008 at 2:08 AM, DaveMahon <[EMAIL PROTECTED]> wrote:
>
> Use caution with findAll. It is being deprecated in favor of just
> generic find. In 1.2 it will continue to work with a warning, but that
> functionality will go away, likely in Cake 2.0.
>
> On Jun 19, 11:45 pm, "Louie Miranda" <[EMAIL PROTECTED]> wrote:
> > Thanks!
> >
> > I also tried this and it did work.
> >
> > $this->set('articles', $this->Post->findAllBycategoryId(1));
> >
> > > $this->set('publications', $this->Post->findAllBycategoryId(2));
> > > $this->set('news', $this->Post->findAllBycategoryId(4));
> >
> > Louie
> >
> >
> >
> > On Fri, Jun 20, 2008 at 11:24 AM, Chris Hartjes <[EMAIL PROTECTED]>
> wrote:
> >
> > > On Thu, Jun 19, 2008 at 11:17 PM, Louie Miranda <[EMAIL PROTECTED]>
> > > wrote:
> > > > Anyway.. tried this..
> > > > $this->Post->find('articles', array('conditions'=>
> > > array('Post.category_id'
> > > > => 1)));
> >
> > > > But, could not get the correct parameters working. I'll check again
> the
> > > > book.
> >
> > > $this->Post->find('all', array('conditions' => array('Post.category_id'
> =>
> > > 1)));
> >
> > > --
> > > Chris Hartjes
> > > Internet Loudmouth
> > > Motto for 2008: "Moving from herding elephants to handling snakes..."
> > > @TheKeyBoard:http://www.littlehart.net/atthekeyboard
> >
> > --
> > Louie Miranda ([EMAIL PROTECTED])http://www.axishift.com
> >
> > Security Is A Series Of Well-Defined Steps
> > chmod -R 0 / ; and smile :)
> >
>
--
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com
Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---