Re: Getting all (*) fields with Containable?

2008-09-10 Thread Mariano Iglesias
$this->Post->contain('Comment') the_woodsman wrote: > Hi, > > I want to contain() certain Models and get all their fields, rather > than explicitly mention every field. > For example, the example in the cookbook: > >1. $this->Post->contain('Comment.author'); > > I want to do something like $t

Getting all (*) fields with Containable?

2008-09-10 Thread the_woodsman
Hi, I want to contain() certain Models and get all their fields, rather than explicitly mention every field. For example, the example in the cookbook: 1. $this->Post->contain('Comment.author'); I want to do something like $this->Post->contain('Comment.*') so that I can be picky in some mode