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)) {
$event = $this->event->get($id_event);
if (!$event) {
/** @todo temporary */
$this->db->update('bbn_history_uids', ['bbn_active' => 1], ['bbn_uid' => $id_event]);
$event = $this->event->get($id_event);
}
if ($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.
© 2011-2023
BBN Solutions