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

ExpressionManagerStart

From LimeSurvey Manual

 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 (0 indexed 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 : list of number of allowed argument
    • 1, 2 : 1 or 2 arguments
    • 1, 2, 3, 4 : 1, 2, 3 or 4 arguments
    • 2, 4 : 2 or 4 arguments
    • -1 mean any number of arguments.

Example