Welcome Guest, Not a member yet? Register   Sign In
My own function classes
#1

[eluser]bastones[/eluser]
Hi,

I'd want to create multiple function classes for various common tasks that'll be in my application, and I presume there'll be various classes for different category of functions. Obviously PHP only allows you to extend one subclass in any superclass so I'm unsure how I'd go about this easily when I'll have to extend the Controller class. I do have one good solution by making a base class which has the most common functions and that class extending the Controller, and my controller class extending the base class.

Just wondering my base class will be in the controllers directory so will I be able to extend that class straight away without needing to include the separate file.

Cheers,
bastones.


Messages In This Thread
My own function classes - by El Forum - 03-29-2009, 09:16 AM
My own function classes - by El Forum - 03-29-2009, 10:17 AM
My own function classes - by El Forum - 03-29-2009, 07:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB