method getDeciders documentation in bbn\Appui\Task
function(string $idTask, bool $top = false)
{
if ($this->exists($idTask)
&& ($role = $this->idRole('deciders'))
){
$deciders = $this->db->getColumnValues('bbn_tasks_roles', 'id_user', [
'id_task' => $idTask,
'role' => $role
]) ?: [];
if ($top && ($idParent = $this->getIdParent($idTask))) {
$deciders = X::mergeArrays($deciders, $this->getDeciders($idParent, true));
}
return \array_unique($deciders);
}
return [];
}
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