Meet CodeIgniter MY_Model |
Interesting, but when you do that, you should also create some sort of protected fields property, so that, if there are fields that you don't want inserted by a form (like 'id') you can simply not add them to the array.
Relationships (at least the way I understand it) is not really related to ORM. I don't want MY_Model to evolve into that. That is way more complex than my PHP knowledge. Website: http://avenir.ro
|
Welcome Guest, Not a member yet? Register Sign In |