Welcome Guest, Not a member yet? Register   Sign In
[Q]How to get instance of the Invoking Controller
#4

[eluser]Pascal Kriete[/eluser]
There is a function called get_instance that will give you a reference to the CI super object (which, at least in part, is the controller).
Code:
$CI =& get_instance();


Messages In This Thread
[Q]How to get instance of the Invoking Controller - by El Forum - 09-03-2008, 11:31 AM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-03-2008, 12:54 PM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-03-2008, 03:07 PM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-03-2008, 04:45 PM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-03-2008, 11:06 PM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-04-2008, 07:09 AM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-04-2008, 08:31 AM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-04-2008, 09:26 AM
[Q]How to get instance of the Invoking Controller - by El Forum - 09-04-2008, 09:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB