Actions

Direct (command)

From LimeSurvey Manual

Revision as of 11:28, 22 September 2017 by DenisChenu (talk | contribs) (Created page with "{{FeatureStarting|2.63.0}} '''Usage''' This event is used for Command Line Interface usage. '''How to use''' This event needs to be called with php cli command. <code>php...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Hint: This features is available starting in version 2.63.0


Usage

This event is used for Command Line Interface usage.

How to use

This event needs to be called with php cli command. php yourlimesurveydir/application/commands/console.php plugin index --target=examplePluginName Or

php yourlimesurveydir/application/commands/console.php plugin --target=examplePluginName

Because default action is index.

Input

The event receives the following information:

  • target string : the plugin name, usage is to use it for target of action.
  • function mixed : extra param for plugin if needed, optionnal. Usage use as string.
  • option mixed : extra param for plugin if needed, optionnal.