How to create an ARO which inherits from multiple ARO's? It sounds
like it's possible (https://trac.cakephp.org/ticket/2191), but I'm not
able to find examples. I have been using the following to create an
ARO which inherits from a single ARO:
$parentAdmin = $aro->findByAlias('aroParentOne');
$parentIdAdmin = $parentAdmin['Aro']['id'];
$aro->create();
$aro->save(array(
'model'=>'User',
//'foreign_key'=>1,
'foreign_key'=>null,
'parent_id'=>$parentIdAdmin,
'alias'=>'aroChild'));
Thank you,
Justin McReynolds
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---