CodeIgniter – Get controller or method name

Hey everyone! Ever since I wrote a few posts on CodeIgniter and published Facebook PHP SDK for CodeIgniter library, and I have been asked this very same question many times. How to get name of current controller (Class) and method (Function)? Its pretty simple one line code and can be easily found through Google. But […]