Welcome Guest, Not a member yet? Register   Sign In
Troubles with __destructor
#7

[eluser]WanWizard[/eluser]
The problem is that the controller IS the CI superobject, once you destroy that, you lose all access to CI. And you don't have any control over the destruct process, so you don't know what is still accessable, and what isn't.

Using __destruct() for anything other than cleanup actions for destruction of the current object is a very bad idea...


Messages In This Thread
Troubles with __destructor - by El Forum - 03-01-2011, 08:05 AM
Troubles with __destructor - by El Forum - 03-02-2011, 07:40 AM
Troubles with __destructor - by El Forum - 03-02-2011, 08:27 AM
Troubles with __destructor - by El Forum - 03-02-2011, 08:58 AM
Troubles with __destructor - by El Forum - 03-21-2011, 06:58 AM
Troubles with __destructor - by El Forum - 03-21-2011, 07:50 AM
Troubles with __destructor - by El Forum - 03-21-2011, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB