method getMediaPath documentation in bbn\Appui\Medias

Returns the path of the given id_media

function(string $id_media, string $name = NULL) { if ($media = $this->getMedia($id_media, true) && !empty($media['content'])) { $path = bbn\Mvc::getDataPath('appui-note').'media/'.$media['content']['path'].$id_media.'/'.($name ? $name : $media['name']); return $path; } return null; }

Returns the path of the given id_media 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.