Actions

ExpressionManagerStart: Difference between revisions

From LimeSurvey Manual

m (Text replacement - "Expression Manager" to "ExpressionScript")
Line 3: Line 3:
== Usage ==  
== Usage ==  


This event is done when Expression Manager create his own function. It allow to create own Expressioon Manager function.
This event is done when ExpressionScript create his own function. It allow to create own Expressioon Manager function.


== Input ==  
== Input ==  

Revision as of 15:50, 11 February 2020

 Hint: This features is available starting in version 4.0.0


Usage

This event is done when ExpressionScript create his own function. It allow to create own Expressioon Manager function.

Input

None

Possible output

  • functions : array of new function for expression manager
  • packages : array of javascript package to be registered just after the expression manager javascript.

Function definition

Function is defined by an array with

  • PHP function, can use complete Class name
  • Javascript function: null for a static function (no javascript update)
  • Basic description for administration GUI
  • Usage for administration GUI
  • Help url
  • Number of argument , -1 mean any number of arguments.

Example