Hello Everyone,

I'm a new user of CakePHP, and have a project where we need to reflect
a 3-step hierarchy of inheritance in our database in a model.

We have people, adults, and users.  All users are adults, and people,
and all adults are people.


Ideally our Adults model "hasone" person, and our Users model "hasone"
adult (which would have one person).


In my tests, however, we have found that when we instantiate a user,
it only has an adult associated with it, and not a person.

When we instantiate an adult, it does however have a person beneath
it.

So in summary, I would like to know if there is a way to instantiate
users, and have the user's adult and person properties come with it.

Thanks!
Rob B.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to