Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get the changed/old attributes values #24

Open
razorsharpshady opened this issue Apr 26, 2019 · 2 comments
Open

get the changed/old attributes values #24

razorsharpshady opened this issue Apr 26, 2019 · 2 comments

Comments

@razorsharpshady
Copy link

Hi Yidas ,
It'd be great if we can access the changed/old attributes values of a model.

@yidas
Copy link
Owner

yidas commented May 1, 2019

Hi @razorsharpshady,

Could you explain more specific or give me some examples?

Thanks.

@razorsharpshady
Copy link
Author

https://www.yiiframework.com/doc/api/2.0/yii-db-activerecord
Check the $oldAttributes property in ActiveRecord class.

@yidas yidas added this to the Old Attributes milestone May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants