Welcome Guest, Not a member yet? Register   Sign In
Split controller?
#1

[eluser]modano[/eluser]
Hi,

Im working on a project and one controller file is just growing massively. Is there any way I can split a controller into more than one file, just to make it easier for me to work with it?

thanks,
modano
#2

[eluser]Michael Wales[/eluser]
No, PHP classes must remain within the same file.

But - why not make it another class, if they serve functionally different purposes?
#3

[eluser]modano[/eluser]
thanks michael,
yes i think im gonna have to restructure this a bit. Smile




Theme © iAndrew 2016 - Forum software by © MyBB