Seeks through the category tree and returns the node on a specific level.
+ Category A (15) |-+ News (16) | |- News A (17) + Category B (18) |-+ Internal (19)
Given you are in the leaf "News A" (idcat 17), and you want to find out in which "main" tree you are, you can call the function like this:
The example would return "Category A" (idcat 15). If you specify an invalid level the results are undefined.
Deprecated: [2015-05-21] This method is no longer supported (no replacement)
Copyright: four for business AG <www.4fb.de>
Author: Timo Hummel
Located at includes/functions.api.category.php
||The category number|
||[optional] The level to extract|
||The category node on a specific level|