Welcome Guest, Not a member yet? Register   Sign In
log action model & entity
#3

(09-09-2023, 10:00 AM)ozornick Wrote: Can I have a more detailed explanation with examples? For comparison, there are method hasChanged()

i mean is log activity action
when i insert data it wil insert and save to my log table
and when i update data it will just save updated data ex: i have field username - name and i change the name so the update will compare old value and new value any change will like this {"from" => 'oldvalue', 'to' => 'newvalue'}

sorry my english is bad
Reply


Messages In This Thread
log action model & entity - by devo - 09-09-2023, 02:29 AM
RE: log action model & entity - by ozornick - 09-09-2023, 10:00 AM
RE: log action model & entity - by devo - 09-09-2023, 10:41 AM
RE: log action model & entity - by ozornick - 09-09-2023, 11:28 AM
RE: log action model & entity - by InsiteFX - 09-09-2023, 09:50 PM
RE: log action model & entity - by devo - 09-14-2023, 04:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB