Welcome Guest, Not a member yet? Register   Sign In
How to get current controller and method?
#11

[eluser]Dennis Rasmussen[/eluser]
Code:
$this->router->fetch_class();
$this->router->fetch_method();
The above will also work if you re-route your controllers.
That's why the above solution is better than the other two suggestions.
#12

[eluser]Bas Vermeulen[/eluser]
Ok, good to know, cheers Smile




Theme © iAndrew 2016 - Forum software by © MyBB