阅读背景:

我可以在Kohana 3中的控制器的before()方法中获取操作吗?

来源:互联网 

My controller has...

我的控制器有......

class Controller_Staff extends Controller {

    public function before() {
       parent::before();
       $id = $this->request->param('id');
       $action = $this->request->param('action');
    }

    public function action_get($id) {
       var_dump($id);
    }

}
class Con



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: