01 2013 档案

摘要:举个例子,我要实现redirect功能,结果发现:$this->forward('index/index'); //继续执行本controller下的indexAction$this->dispatcher->forward(array('controller'=>'index','action'=>'index')); //继续执行其他controller下的action真正的redirect要这样写:$response = new Phalcon\Http\Response();$ 阅读全文
posted @ 2013-01-19 16:39 up1m 阅读(398) 评论(0) 推荐(0)