Posted By

rahulprasad on 04/15/13


Tagged

model Yii


Versions (?)

YII Model beforeSave() action


 / Published in: PHP
 

beforeSave() function is called before a model is saved. Based on isNewRecord properly we can autosave data to some of the field(s)

Report this snippet  

You need to login to post a comment.