Actions

ExpressionManagerStart: Difference between revisions

From LimeSurvey Manual

(Oups …)
 
(Add Function definition)
Line 12: Line 12:
* packages : array of javascript package to be registred
* packages : array of javascript package to be registred


'''Functions definition'''
Function is defined by an array with
* PHP function, can use complete Class name
* Javascript function
* Basic description for administration GUI
* Usage for administration GUI
* Help url
* Number of argument , -1 mean any number of arguments.


'''Example'''
'''Example'''


* LimeSurvey Demo plugin : https://github.com/LimeSurvey/LimeSurvey/tree/develop/plugins/Demo/demoAddEmFunction
* [https://github.com/LimeSurvey/LimeSurvey/tree/master/plugins/Demo/demoAddEmFunction demoAddEmFunction]


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

Revision as of 18:24, 15 January 2020

When

This event is fired before show the survey menu bar

Input

None

Possible output

  • functions : array of new function for expression manager
  • packages : array of javascript package to be registred

Functions definition Function is defined by an array with

  • PHP function, can use complete Class name
  • Javascript function
  • Basic description for administration GUI
  • Usage for administration GUI
  • Help url
  • Number of argument , -1 mean any number of arguments.

Example