lundi 28 avril 2014

How to add a function to yii2 models?


Vote count:

0




I have a yii2 project, i've used gii to generate crud operations for a model named account.


now i want to change(or add a new one) the delete function so that it doesn't delete the record from the database but instead flag it as deleted, and i'm not sure where to make my changes.



asked 54 secs ago






Aucun commentaire:

Enregistrer un commentaire