Welcome Guest, Not a member yet? Register   Sign In
Where to put plain object classes?
#32

(This post was last modified: 12-31-2014, 11:58 AM by sneakyimp.)

(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



Theme © iAndrew 2016 - Forum software by © MyBB