三个方法:
toRoute(string $route, array $param, array $option, boolean $reuseMatchedParams=false);
使用$params和$options组装URL,重定向到已命名的路由。
例如:$this->redirect()->toRoute('klms', array('action'=>'center')); klms 是路由名字,后面是参数。
toUrl(styring $url);
仅仅重定向到给定的url。
refresh()
刷新当前路由。