method removeMedia documentation in bbn\Appui\Note

Removes a row associating a given media and a given note.

function(string $id_media, string $id_note) { $cf = &$this->class_cfg; if ( $this->db->selectOne($cf['tables']['medias'], $cf['arch']['medias']['id'], [$cf['arch']['medias']['id'] => $id_media]) && $this->exists($id_note) ) { return $this->db->delete($cf['tables']['notes_medias'], [ $cf['arch']['notes_medias']['id_note'] => $id_note, $cf['arch']['notes_medias']['id_media'] => $id_media, ]); } return null; }

Removes a row associating a given media and a 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.