• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.