method remove documentation in bbn\Appui\Note

function(string $id, $keep = false) { if (Str::isUid($id)) { $cf = &$this->class_cfg; if (empty($keep)) { $this->removeAllMedias($id); $this->removeTags($id); foreach ($this->getAliases($id) as $id_alias) { $this->remove($id_alias); } foreach ($this->getChildren($id) as $id_child) { $this->remove($id_child); } $this->db->delete($cf['tables']['versions'], [$cf['arch']['versions']['id_note'] => $id]); return $this->db->delete($cf['table'], [$cf['arch']['notes']['id'] => $id]); } else { return $this->db->update($cf['table'], [$cf['arch']['notes']['active'] => 0], [$cf['arch']['notes']['id'] => $id]); } } 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.