so, anyone, please ? do i have to familiarize myself with the method cake uses to store the ACL tree in sql to get the parent of any given ARO node? :-(
(...Thanks for the suggestion Gwoo but the database structure (cake 1.1) has no parent_id field in the aros table) thanks andrew On Sep 12, 3:17 pm, pigeon <[EMAIL PROTECTED]> wrote: > Query: SELECT `Aro`.`id`, `Aro`.`foreign_key`, `Aro`.`alias`, > `Aro`.`lft`, `Aro`.`rght` FROM `aros` AS `Aro` WHERE `Aro`.`parent_id` > = 'gds' LIMIT 1 > Warning: SQL Error: 1054: Unknown column 'Aro.parent_id' in 'where > clause' > > :-( > > On szept. 10, 20:17, Gwoo <[EMAIL PROTECTED]> wrote: > > > $this->Acl->Aro->findByParentId() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---