method reroute documentation in bbn\Mvc
This will reroute a controller to another one seemlessly. Chainable
function($path = '', $post = false, $arguments = false)
{
$this->env->simulate($path, $post, $arguments);
$this->is_routed = false;
$this->is_controlled = null;
$this->info = null;
$this->router->reset();
$this->route();
if ($arguments || !isset($this->info['args'])) {
$this->info['args'] = $arguments;
}
if ($this->controller) {
$this->controller->reset($this->info);
}
return $this;
}
This will reroute a controller to another one seemlessly. Chainable 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