Is there an 'update' event logic hook for a module that I could use to fire custom php code whenever a module gets updated with new data?
Thanks!
Is there an 'update' event logic hook for a module that I could use to fire custom php code whenever a module gets updated with new data?
Thanks!
In the before_save you can verify that the $bean->id is empty to see if the record is new, if it's not empty then it's an update.
FrancescaS
In the before_save you can verify that the $bean->id is empty to see if the record is new, if it's not empty then it's an update.
FrancescaS