Tuesday, October 28, 2008

Re: question about relationship

This:

var $hasMany = array('OrderMoviments');

Should be:

var $hasMany = array('OrderMoviment');

or:

var $hasMany = array('OrderMoviments' => array('className' =>
'OrderMoviment'));

On Mon, Oct 27, 2008 at 3:12 PM, carlos ferrandis <bicimundo@gmail.com> wrote:
>
> I have posted another item using a diferent approach to the same
> problem. it is in
>
> http://groups.google.com/group/cake-php/browse_thread/thread/162e7b5d1daf8287#
>
> carlos
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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: