Welcome Guest, Not a member yet? Register   Sign In
=& get_instance in MY_Exceptions
#4

[eluser]Pascal Kriete[/eluser]
Code:
I think getting the instance is not available at that time

Right on the money.

Normally get_instance returns the current controller instance. But since controllers map directly to urls, it doesn't know which one to instantiate.

If you can let us know your overall goal, I'm sure we can make it work (probably by extending the router instead of the exception class).


Messages In This Thread
=& get_instance in MY_Exceptions - by El Forum - 09-21-2009, 06:44 AM
=& get_instance in MY_Exceptions - by El Forum - 09-21-2009, 09:14 PM
=& get_instance in MY_Exceptions - by El Forum - 09-22-2009, 01:16 AM
=& get_instance in MY_Exceptions - by El Forum - 09-22-2009, 06:30 AM
=& get_instance in MY_Exceptions - by El Forum - 09-22-2009, 07:59 AM
=& get_instance in MY_Exceptions - by El Forum - 09-22-2009, 08:09 AM
=& get_instance in MY_Exceptions - by El Forum - 09-22-2009, 02:03 PM
=& get_instance in MY_Exceptions - by El Forum - 10-22-2009, 05:52 AM
=& get_instance in MY_Exceptions - by El Forum - 10-22-2009, 10:13 AM
=& get_instance in MY_Exceptions - by El Forum - 10-22-2009, 03:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB