method addLog documentation in bbn\Appui\Task

function($id_task, $action, array $value = []) { $data = [ 'id_task' => $id_task, 'id_user' => $this->id_user, 'action' => \bbn\Str::isUid($action) ? $action : $this->idAction($action), 'value' => empty($value) ? '' : json_encode($value), 'chrono' => empty($this->date) ? microtime(true) : number_format((float)strtotime($this->date), 4, '.', '') ]; $this->notify($data); return $this->db->insert('bbn_tasks_logs', $data); } 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.