Tree helper By Andy Dawson http://bakery.cakephp.org/articles/view/tree-helper-1
//---acl_aros_controller
$aros = $this->AclAro->find('threaded');
$this->set('aros',$aros);
//--- View
echo $tree->generate($aros, array('alias'=>'alias'));
RESULT -----------------------------------------------------
Root
----|Members
----|Moderators
Administrators
above result is fail, it must be:
Root
----|Members
----|Moderators
----|Administaotrs
please, help me ! this is data debug($aros); data result : pastie.org/1028912 ( you paste this link in browser, i cant post 2 hyperlink sorry );