method catCorrespondances documentation in bbn\Appui\Task
function()
{
$cats = self::getOptionsTree('cats');
$res = [];
$opt->map(function ($a) use (&$res){
$res[] = [
'value' => $a['id'],
'text' => $a['text']
];
$a['is_parent'] = !empty($a['items']);
if ( $a['is_parent'] ){
$a['expanded'] = true;
}
return $a;
}, $cats, 1);
X::sortBy($res, 'text', 'ASC');
return $res;
}
return false;
}
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