Specific model events: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) mNo edit summary |
DenisChenu (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
*''model'' : The current model as a [https://www.yiiframework.com/doc/api/1.1/CActiveRecord ActiveRecord] | *''model'' : The current model as a [https://www.yiiframework.com/doc/api/1.1/CActiveRecord 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''' | '''Possible output''' |
Revision as of 09:15, 15 November 2018
Each model have their own event send. For example for Survey model : you can replace Model by Survey in
- beforeModelDelete : beforeSurveyDelete
- 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.