x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

Specific model events: Difference between revisions

From LimeSurvey Manual

DenisChenu (talk | contribs)
m Add new name of event
DenisChenu (talk | contribs)
m Add whole information
Line 5: Line 5:
* [[afterModelDelete]] : [[afterModelDelete|afterSurveyDelete]]
* [[afterModelDelete]] : [[afterModelDelete|afterSurveyDelete]]
* [[afterModelSave]] : [[afterModelSave|afterSurveySave]]
* [[afterModelSave]] : [[afterModelSave|afterSurveySave]]
'''When'''
Before a single database model was deleted using model->delete(). See [https://www.yiiframework.com/doc/api/1.1/CActiveRecord#onBeforeDelete-detail CActiveRecord::onBeforeDelete].
'''Input'''
*''model'' : The current model as a [https://www.yiiframework.com/doc/api/1.1/CActiveRecord ActiveRecord]
'''Possible output'''
None.
[[Category:Plugins events]]

Revision as of 11:05, 11 October 2018

Each model have their own event send. For example for Survey model : you can replace Model by Survey in

When

Before a single database model was deleted using model->delete(). See CActiveRecord::onBeforeDelete.

Input

Possible output

None.