Monday, June 29, 2009

Simple relationship problem

Heya all,

Theres something I'm not doing right here...

I have a User model which has one Seller model linked to it which in
turn can have an Agency model linked to it.

User Model:
hasOne seller.
Seller Model: belongsTo user
Agency Model: belongsTo seller

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