method unpublish documentation in bbn\Appui\Cms

Unpublish a note.

function(string $id_note) { if ($event = $this->getEvent($id_note)) { $cfg = $this->class_cfg; if ( $this->db->delete( $this->class_cfg['tables']['notes_events'], [$this->class_cfg['arch']['notes_events']['id_note'] => $id_note] ) ) { return (bool)$this->db->delete( $this->class_cfg['tables']['events'], [$this->class_cfg['arch']['events']['id'] => $event['id']] ); } } return false; }

Unpublish a note. BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.