• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where to put plain object classes?

#32
(12-30-2014, 10:11 AM)includebeer Wrote: What's your point? You don't want to use the CI_Model class at all?
My point is that it doesn't seem worthwhile to use it so why should I. I'd even go further to say that it might be detrimental to use it because, as mwhitney confirms, it would mingle the properties of my model class with those of the CI object due to the magic __get method.

(12-30-2014, 10:11 AM)includebeer Wrote: Why would it cough up CI properties?
See mwhitney's post. Also, PHP docs on the __get magic method might be helpful.
Reply


Messages In This Thread
Where to put plain object classes? - by geekita - 12-02-2014, 05:51 AM
RE: Where to put plain object classes? - by sneakyimp - 12-31-2014, 11:57 AM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 05:18 AM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 03:08 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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