method hasMedias documentation in bbn\Appui\Note
function(string $id_note, $version = false, string $id_media = '')
{
$cf = &$this->class_cfg;
if ($this->exists($id_note)) {
$where = [
$cf['arch']['notes_medias']['id_note'] => $id_note
];
if (!empty($id_media) && Str::isUid($id_media)) {
$where[$cf['arch']['notes_medias']['id_media']] = $id_media;
}
return (bool)$this->db->count($cf['tables']['notes_medias'], $where);
}
return null;
}
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