Welcome Guest, Not a member yet? Register   Sign In
General questopn on php classes
#1

[eluser]Unknown[/eluser]
I have a couple of classes that I would like to use but originally I didnt write. Its well designed but Its an extremely long file with display functionality thats usefull but should for me really be optional and functions I do need.

Its fairly easy to strip out the display stuff into a seperate class that extends the first, but the problem remains the remaining code is still long and challenging for debugging.

I was hoping to simply split the class into sections by function ie dml, ddl etc and include theses files back into the class.

However it appears php wont allow. Do any of you more experienced OO php developers have any advice on how to 'kludge' err simulate this until I do have the time to refactor the code into smaller utility classes.

Thank you




Theme © iAndrew 2016 - Forum software by © MyBB