That's right.
It works now.
Thank you :)
On May 1, 2008, at 8:25 AM, validkeys wrote:
>
> if you hadn't figured this one out.
>
> If you are trying to access your models model from your parts model to
> create a drop down of models in a parts view, use the following:
>
> latest 1.2: $this->Par
if you hadn't figured this one out.
If you are trying to access your models model from your parts model to
create a drop down of models in a parts view, use the following:
latest 1.2: $this->Part->Model->find('list');
earlier: $this->Part->Model->generateList();
does that help?
On Apr 30, 7:2
Forget my ignorance, I forgot to use var $belongsTo.
:)
On Apr 30, 2008, at 3:22 PM, Reza Muhammad wrote:
>
> Hi Guys,
>
> I just started using CakePHP 1.2, and I have a question concerning a
> One to Many relationships.
>
> I have two models, 'Model' and 'Part'. One model can have many
> parts
Hi Guys,
I just started using CakePHP 1.2, and I have a question concerning a
One to Many relationships.
I have two models, 'Model' and 'Part'. One model can have many
parts. I don't have a problem creating Model controller, but when I
want to add new parts, I want to have a list of the