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

Plugin events: Difference between revisions

From LimeSurvey Manual

DenisChenu (talk | contribs)
Model Events: beforeModelDeleteMany
DenisChenu (talk | contribs)
getPluginTwigPath
Line 48: Line 48:
*[[direct (command)]]{{NewIn|v=2.63.0|b=170304}}
*[[direct (command)]]{{NewIn|v=2.63.0|b=170304}}
*[[getGlobalBasePermissions]]]{{NewIn|v=3.0.0}}
*[[getGlobalBasePermissions]]]{{NewIn|v=3.0.0}}
*[[getPluginTwigPath]]{{NewIn|v=3.10.0}}
*[[listExportOptions]]
*[[listExportOptions]]
*[[listExportPlugins]]
*[[listExportPlugins]]

Revision as of 18:31, 5 June 2018

At version 2.50 build 160425 the following events are available for plugins to subscribe to:

NB: Version 2.60.0 is not the save as version 2.6, which is the new number for version 2.06. 2.60.0 comes after 2.59.1.

Model Events

All models (Survey, Question, etc.) support a series of before & after events.

These include model-specific events (example for Survey model):

As well as generic events independent of the model's name:

In all of the above events, the associated model object is available as part of event data:

$model = $this->event->get('model');