Repository navigation
CakePHP 2.x: TreeBehavior
The TreeBehavior of 3.x has been shimmed.
generateTreeList(), children() and getPath() will not be existent anymore.
You can now use the custom finders of 3.x in your 2.x app:
- find('treeList')
- find('path')
- find('children')
That includes the options that will now be the 2nd argument instead of a long list of arguments.
Note that the TreeBehavior has still to be loaded for the Model to be able to use those finders.