Specific model events
From LimeSurvey Manual
Each model have their own event send. For example for Survey model : you can replace Model by Survey in
- beforeModelDelete : beforeSurveyDelete
- beforeModelDeleteMany : beforeSurveyDeleteMany
- beforeModelSave : beforeSurveySave
- afterModelDelete : afterSurveyDelete
- afterModelSave : afterSurveySave
Input
- model : The current model as a ActiveRecord
- surveyId : related survey id if exist
- iSurveyID : related survey id if exist
- dynamicId : related dynamic id if exist (for Token and Response)
Possible output
None.