Re: recursive in parents

2009-03-11 Thread fain182

sorry.. there was a my fault...
thank you and excuse me ;-)


On Wed, Mar 11, 2009 at 10:51 PM, dr. Hannibal Lecter
 wrote:
>
> Yes, it seems ok. How do you get your data with find()?
>
> On Mar 11, 10:26 pm, fain182  wrote:
>> mhmm.. i think that's all right with relations... I baked them..
>>
>> http://bin.cakephp.org/saved/43619
>>
>> On Wed, Mar 11, 2009 at 9:40 PM, dr. Hannibal Lecter
>>
>>  wrote:
>>
>> > A silly guess would be that you didn't set up your B=>A relation
>> > properly.
>>
>> > Could you please show us your relations?
>>
>> > Hint:http://bin.cakephp.org/
>>
>> > On Mar 11, 6:39 pm, fain182  wrote:
>> >> my situation is this:
>> >> A has many B
>> >> B has many C
>>
>> >> in the view of C i see only the data of B  and C, i want to see the
>> >> data of A too..
>> >> i tried to set the recursive to 2 or 3 but it makes something like:
>> >> array A
>> >>     array B that has A
>> >>        array A that belongs to B
>>
>> >> did you have any suggestion?
>> >> thank you
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: recursive in parents

2009-03-11 Thread dr. Hannibal Lecter

Yes, it seems ok. How do you get your data with find()?

On Mar 11, 10:26 pm, fain182  wrote:
> mhmm.. i think that's all right with relations... I baked them..
>
> http://bin.cakephp.org/saved/43619
>
> On Wed, Mar 11, 2009 at 9:40 PM, dr. Hannibal Lecter
>
>  wrote:
>
> > A silly guess would be that you didn't set up your B=>A relation
> > properly.
>
> > Could you please show us your relations?
>
> > Hint:http://bin.cakephp.org/
>
> > On Mar 11, 6:39 pm, fain182  wrote:
> >> my situation is this:
> >> A has many B
> >> B has many C
>
> >> in the view of C i see only the data of B  and C, i want to see the
> >> data of A too..
> >> i tried to set the recursive to 2 or 3 but it makes something like:
> >> array A
> >>     array B that has A
> >>        array A that belongs to B
>
> >> did you have any suggestion?
> >> thank you
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: recursive in parents

2009-03-11 Thread fain182

mhmm.. i think that's all right with relations... I baked them..

http://bin.cakephp.org/saved/43619



On Wed, Mar 11, 2009 at 9:40 PM, dr. Hannibal Lecter
 wrote:
>
> A silly guess would be that you didn't set up your B=>A relation
> properly.
>
> Could you please show us your relations?
>
> Hint: http://bin.cakephp.org/
>
> On Mar 11, 6:39 pm, fain182  wrote:
>> my situation is this:
>> A has many B
>> B has many C
>>
>> in the view of C i see only the data of B  and C, i want to see the
>> data of A too..
>> i tried to set the recursive to 2 or 3 but it makes something like:
>> array A
>>     array B that has A
>>        array A that belongs to B
>>
>> did you have any suggestion?
>> thank you
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: recursive in parents

2009-03-11 Thread dr. Hannibal Lecter

A silly guess would be that you didn't set up your B=>A relation
properly.

Could you please show us your relations?

Hint: http://bin.cakephp.org/

On Mar 11, 6:39 pm, fain182  wrote:
> my situation is this:
> A has many B
> B has many C
>
> in the view of C i see only the data of B  and C, i want to see the
> data of A too..
> i tried to set the recursive to 2 or 3 but it makes something like:
> array A
>     array B that has A
>        array A that belongs to B
>
> did you have any suggestion?
> thank you
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



recursive in parents

2009-03-11 Thread fain182

my situation is this:
A has many B
B has many C

in the view of C i see only the data of B  and C, i want to see the
data of A too..
i tried to set the recursive to 2 or 3 but it makes something like:
array A
array B that has A
   array A that belongs to B


did you have any suggestion?
thank you

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---