Re: Grab parent ARO from ACL

2007-09-15 Thread pigeon
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,

Re: Grab parent ARO from ACL

2007-09-12 Thread pigeon
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:

Re: Grab parent ARO from ACL

2007-09-11 Thread pigeon
wow thanks. i hope its not documented :-) On Sep 10, 8:17 pm, 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

Grab parent ARO from ACL

2007-09-10 Thread pigeon
hey everyone, is there an easy way to read the parent ARO of any given ARO, from cake-ACL? I didnt see anything about it in the API docs, thus i must assume its not implemented.. :-( How do you go about it then? thanks! andrew --~--~-~--~~~---~--~~ You

Re: Grab parent ARO from ACL

2007-09-10 Thread Gwoo
$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