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.
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.
I am still confused which find* on my controller to use.
Basically, all I wanted to do is...
$this-set('news', $this-Article-find*($paramsFornews));
$this-set('article', $this-Article-find*($paramsForarticle));
$this-set('gallery', $this-Article-find*($paramsForgallery));
Array
(
[0] = Array
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.
On Fri, Jun 20, 2008 at 11:09 AM, Louie Miranda [EMAIL PROTECTED] wrote:
I am still confused which find* on my
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',
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]