LimeSurvey API - Master branch

Example extends PluginBase
in package

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

Table of Contents

Properties

$description  : mixed
$name  : mixed
$settings  : mixed
$storage  : mixed

Methods

beforeSurveySettings()  : mixed
This event is fired by the administration panel to gather extra settings available for a survey.
init()  : mixed
newSurveySettings()  : mixed

Properties

$description

protected static mixed $description = 'Example plugin'

$name

protected static mixed $name = 'Example'

$settings

protected mixed $settings = array('test' => array('type' => 'string', 'label' => 'Message'))

$storage

protected mixed $storage = 'DbStorage'

Methods

beforeSurveySettings()

This event is fired by the administration panel to gather extra settings available for a survey.

public beforeSurveySettings() : mixed

The plugin should return setting meta data.

newSurveySettings()

public newSurveySettings() : mixed

        
On this page

Search results