I’m new to CI but I know CakePHP pretty well. I’ve searched the documentation of CI and haven’t found this.
In CakePHP the fields “created” and “modified” were automatically populated by the “save” function. Does CI have two fields like that? Or can he automatically populate something?
EDIT:
Ok.. I’ve extended the CI_Model class and now, is there a function such as beforeSave (from cake)? And shouldn’t I rather extend the DB class (I use db->set and db->insert);
Is this ok?