method setPrepath documentation in bbn\Mvc\Router

function($path) { if (!$this->checkPath($path)) { throw new Exception(X::_("The prepath $path is not valid")); } $this->_prepath = $path; if (substr($this->_prepath, -1) !== '/') { $this->_prepath = $this->_prepath . '/'; } if ($this->_mode) { $this->route($this->_mvc->getUrl(), $this->_mode); } return true; }

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.