method getPath documentation in bbn\Appui\Medias

function($media = NULL) { if (is_string($media)) { $media = $this->getMedia($media, true); } if (!is_array($media)) { throw new Exception("Impossible to find the media in the database"); } if (!isset($this->path)) { $this->path = Mvc::getDataPath('appui-note').'media'; } if (!isset($media['content'], $media['content']['path'])) { throw new Exception("The media doesn't seem to have a path"); } return $this->path . '/' . $media['content']['path'] . $media['id'] . '/' . $media['name']; }

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.