method tree documentation in bbn\Appui\Menu
function($id, $prepath = false)
{
if (Str::isUid($id)) {
if ($this->cacheHas($id, __FUNCTION__)) {
return $this->cacheGet($id, __FUNCTION__);
}
$tree = $this->pref->getTree($id);
$res = $this->_arrange($tree, $prepath);
$this->cacheSet($id, __FUNCTION__, $res['items'] ?? []);
return $res['items'] ?? [];
}
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions