before_save_record
Usage
Fires before any database record is saved. This includes both insert and update operations.
Since this hook fires before the record is saved, the record ID will not be available, but changes made to any other record properties will be saved.
Arguments
Omeka_Record_AbstractRecordrecordThe record being edited
array or falsepostThe post data, or false if none
booleaninsertWhether the record is being inserted