In Yii 2.0 run save in ActiveRecord's AfterSave
In Yii 2.0 Framework, if run save in afterSave, will active new beforeSave and afterSave then endless loop, this topic show how to run save in afterSave without endless loop
YiiLib Foucs on: Pro Web Dev Tutorial and Pro Web Dev Service
Copyright © 2011 - 2024 YiiLib.com(YiiBlog.info) - Designed & Developed by Boy.Lee