method getDataPath documentation in bbn\Appui\Project
Gets the data path
function(string $plugin = NULL)
{
if ($this->name === BBN_APP_NAME) {
return \bbn\Mvc::getDataPath($plugin);
} elseif ($content = $this->getEnvironment()) {
$path = $content['data_path'];
if ($plugin) {
$path .= 'plugins/' . $plugin . '/';
}
return $path;
}
throw new \Exception(X::_("Impossible to find the data path for %s", $this->name));
}
Gets the data path 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-2025
BBN Solutions