method getTree documentation in bbn\Appui\Task
function($id = NULL, $closed = false)
{
$res = [];
$all = $this->getList($id ?: null, $statuses, 5000);
foreach ( $all as $a ){
array_push($res, [
'id' => $a['id'],
'text' => $a['title'].' ('.bbn\Date::format($a['first']).'-'.bbn\Date::format($a['last']).')',
'is_parent' => $a['num_children'] ? true : false
]);
}
return $res;
}
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