Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord for CodeIgniter: Rails-style model interactions
#36

[eluser]sophistry[/eluser]
yes, but that is what i am trying to avoid by using this whole set up in the first place. isn't the point of this activerecord class that you don't have to define the columns as properties - they just "magically" appear based on the column names. at least that's what it looks like what's happening over at the PHP5 party. ;-)

BTW, thanks for the reply. i think there is something fundamentally flawed with trying to get this set up fully working in PHP4. there are a host of comments in the overload() function at php.net that say don't use inheritance and overload() together. basically they end up where you just pointed me which is, you have to hard code it if you want dynamic properties in PHP4. unless i'm missing something...


Messages In This Thread
ActiveRecord for CodeIgniter: Rails-style model interactions - by El Forum - 09-25-2007, 09:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB