method viewExists documentation in bbn\Mvc
Checks whether the given view exists or not.
function(string $path, string $mode = 'html')
{
if (!router::isMode($mode) || !($path = Router::parse($path))) {
return false;
}
if ($this->hasView($path, $mode)) {
return true;
}
if ($this->router->route($path, $mode)) {
return true;
}
return false;
}
Checks whether the given view exists or not. 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