Hi all, I execute the findAllThreaded() method, and its result like these below:
Array
(
[0] => Array
(
[Area] => Array
(
[id] => 1
[name] => Cake1
[parent_id] => 0
)
[children] => Array
(
[0] => Array
(
[Area] => Array
(
[id] => 2
[name] => Cake2
[parent_id] => 1
)
[children] => Array
(
[0] => Array
(
[Area] => Array
(
[id] => 3
[name] => Cake3
[parent_id] => 2
)
[children] => Array
(
[0] => Array
(
[Area] =>
Array
(
[id] => 6
[name] => Cake6
[parent_id] => 3
)
[children]
=> Array
(
)
)
)
)
)
)
[1] => Array
(
[Area] => Array
(
[id] => 4
[name] => Cake4
[parent_id] => 1
)
[children] => Array
(
)
)
[2] => Array
(
[Area] => Array
(
[id] => 5
[name] => Cake5
[parent_id] => 1
)
[children] => Array
(
)
)
)
)
)
I checked the api docs, and found a deprecated method
HtmlHelper::guiListTree(), but I can't understand what's the 'bodyKey'.
Is there any tree helper which could retrieve tree's data? Tree's node,
path, children, brother etc.....
Regards
--Fasthold
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---
