Actions

BeforeSurveySettings: Difference between revisions

From LimeSurvey Manual

No edit summary
(Update example)
 
Line 15: Line 15:
'''Example'''
'''Example'''


Check this plugin for example settings: https://framagit.org/Shnoulle/exampleSettings/blob/master/exampleSettings.php
* A lot of example settings: [https://framagit.org/Shnoulle/exampleSettings/blob/master/exampleSettings.php exampleSettings]
* In demo plugin of LimeSurvey [https://github.com/LimeSurvey/LimeSurvey/blob/master/plugins/Demo/Example/Example.php Demo/Example/Example.php]


[[Category:Plugins events]]
[[Category:Plugins events]]

Latest revision as of 08:38, 23 September 2016

When

This event is fired before show the advanced settings page

Input

The event receives the following information:

  • survey the id of the current survey

Possible output

  • surveysettings : array of settings for survey

Example