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,
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:
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
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
$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