如何使用codeigniter 3从URL获取方法名称

时间:2015-09-25 08:52:24

标签: php codeigniter

如何使用codeigniter从URL获取方法名称3.我听说不推荐使用$this->router->method;

1 个答案:

答案 0 :(得分:1)

我认为{3}中包含$this->router->method,之前是方法$this->router->fetch_method();

请参阅thispage link) - 希望这会有所帮助。