method getEvent documentation in bbn\Appui\Cms

Returns the object event of the given note.

function(string $id_note) { if ($id_event = $this->note->getEventIdFromNote($id_note)) { if ( $event = $this->db->rselect([ 'table' => $this->class_cfg['table'], 'fields' => [], 'where' => [ 'conditions' => [[ 'field' => $this->fields['id'], 'value' => $id_event ]]], ]) ) { //if the event is not in bbn_notes_events it inserts the row $this->note->insertNoteEvent($id_note, $id_event); $event['id_note'] = $id_note; return $event; } } return null; }

Returns the object event of the given note. 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.