Welcome Guest, Not a member yet? Register   Sign In
Construct & destruct - quick question
#6

[eluser]Phil Sturgeon[/eluser]
The reason __destruct() doesn't load the output in this case is that it will only be fired off when the class is finished doing its work. Seeing as controllers extend Controller, which extends CI_Base, which extends CI_Loader, its work is never done until the grandaddy instance is dead. By this time, output library will be inaccessible and nothing will be output.


Messages In This Thread
Construct & destruct - quick question - by El Forum - 06-29-2009, 07:28 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 07:36 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 07:38 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 07:47 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 08:01 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 08:48 AM
Construct & destruct - quick question - by El Forum - 06-29-2009, 08:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB