Routing in Kohana without changing URL
How can I re-rout execution to another controller开发者_开发技巧/action in Kohana PHP framework, w/o redirecting.
if you using default routing you can do this:
Request::factory('welcome/index2')->execute();
General case:
$this->request
->controller('welcome')
->action('index2')
->execute();
Or look at Request->execute()
精彩评论