method getTree documentation in bbn\User\Preferences
Returns a preference and its hierarchical bits list
function(string $id, bool $with_config = true)
{
if (
\bbn\Str::isUid($id)
&& ($p = $this->get($id, $with_config))
) {
$p['items'] = $this->getFullBits($id, null, $with_config);
return $p;
}
return [];
}
Returns a preference and its hierarchical bits list 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-2025
BBN Solutions