Hi,
It looks like the following is working in CI 2.1.0
To get the name of the controller in CodeIgniter:
$this->router->fetch_class();
To get the name of the method in CodeIgniter:
$this->router->fetch_method();
Are these methods consider private? Should they be documented if they are public?
thanks.
No comments:
Post a Comment