Cakephp generateTreeList Limit Depth

How can I limit the depth of the tree returned by generateetelelist in cakephp?

the documentation shows that I cannot go through the depth. What would be an elegant way to get around this?

+3


source to share


1 answer


Node (depth)


I think if you will cache the level as described in the book, you can specify the required levels as condition

in the call generateTreeList

...

0


source







All Articles