Hi, I'm a relative nooob to cakephp so this may be obvious to someone
but its not hitting me in the face.

I have setup ACL, and have User and Group models acting as requestors
(so when I insert a user or group the ARO table is updated).

What I want to do is show the details of the ARO's for a given ACO.  I
get the ARO records ok, however I want some extra info from the
associated model (User or Group) and I can't see a way to do this.

The problem I am having is that in the ARO record the model field will
contain either 'User' or 'Group' and based on this I want to get data
from either the User or Group model (table) - how do I or how can I
get cake to get the respecitive record from the correct Model (User or
Group)?


The rough flow I'm after is:  acos->aros_acos->aros->(this is where my
issue is) users or groups

Thanks in advance.


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