2011-03-27 11:48:41 0 评论 Yii 1.0 Boy.Lee

Yii 1.0 重定向

{Redirect to HomePage}

 

$this->redirect(Yii::app()->homeUrl);

{Redirect to Module 'Admin'}

 

$this->redirect(array('/Admin'));

{Redirect to Contorller/Action}

 

$this->redirect(array('post/view'));