Welcome Guest, Not a member yet? Register   Sign In
Best way to have multiple parent controllers
#5

[eluser]Rick Jolly[/eluser]
I don't mind the include/require at the top of each child controller class - it's self documenting. However, you could use wiredesignz's suggestion, or if your parent controllers follow a naming convention, you could register an __autoload() function and require/include them through there. The __autoload() could be registered in the index.php bootstrap.


Messages In This Thread
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:10 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:13 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:16 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 06:51 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 09:57 PM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 01:52 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:26 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:39 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:49 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 04:37 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 05:24 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB