method infoRoles documentation in bbn\Appui\Task

function($id) { if ( ($opt = bbn\Appui\Option::getInstance()) && ($roles = self::getAppuiOptions('roles')) ){ $all = $this->db->rselectAll( 'bbn_tasks_roles', [], ['id_task' => $id], ['role' => 'ASC']); $n = false; foreach ( $all as $a ){ $code = X::getField($roles, ['id' => $a['role']], 'code'); if ( $n !== $code ){ $n = $code; $r[$n] = []; } array_push($r[$n], $a['id_user']); } } return $r; }

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.