Welcome Guest, Not a member yet? Register   Sign In
Load a function when after the controller
#1

[eluser]Emanuel01[/eluser]
Hello ,
I want to make a header - footer system and i`ve make this little plan :
I will extend my controllers with a MY_Controller library where i have 2 function : header that will be used before the controller and footer that need to be used after the controller .
Now i don`t know how to make the footer to be executed after the controller . Maybe with the php function __destruct ?
P.S. i don`t want to write at the end of every controller the function maybe exist another solution

Thx for the help and sorry for my english .


Messages In This Thread
Load a function when after the controller - by El Forum - 01-27-2009, 08:07 AM
Load a function when after the controller - by El Forum - 01-27-2009, 08:28 AM
Load a function when after the controller - by El Forum - 01-27-2009, 11:06 AM
Load a function when after the controller - by El Forum - 03-11-2009, 09:21 AM
Load a function when after the controller - by El Forum - 03-11-2009, 09:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB