Welcome Guest, Not a member yet? Register   Sign In
MY_Controller
#6

[eluser]Rick Jolly[/eluser]
In the name of transparency, I just require/include parent classes in the child class. It's self documenting. I don't use MY_Controller because, as you wrote, if you want more than one parent controller, you have to hide them away in the same file. Alternatively, if using class naming conventions, you could write a simple php 5 __autoload() function.


Messages In This Thread
MY_Controller - by El Forum - 10-19-2008, 05:56 AM
MY_Controller - by El Forum - 10-19-2008, 06:00 AM
MY_Controller - by El Forum - 10-19-2008, 06:36 AM
MY_Controller - by El Forum - 10-19-2008, 06:40 AM
MY_Controller - by El Forum - 10-19-2008, 07:10 AM
MY_Controller - by El Forum - 10-19-2008, 10:42 AM
MY_Controller - by El Forum - 10-19-2008, 03:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB