method notify documentation in bbn\Appui\Task
function(array $data)
{
$text = $this->translateLog($data);
$users = \array_values(\array_filter($this->getUsers($data['id_task']), function($a) use($data){
return $a !== $data['id_user'];
}));
if (!empty($users)) {
$notif = new bbn\Appui\Notification($this->db);
return $notif->insert($title, $text, null, $users, true);
}
}
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-2024
BBN Solutions