QuestionAttributeProvider

Base class for question attribute definition providers

package

Default

Methods

Get default settings for an attribute, return an array of string|null

getBaseDefinition(): \LimeSurvey\Models\Services\array<string,mixed>
static

Response

\LimeSurvey\Models\Services\array

Returns question attribute definitions for the specified options from one source

getDefinitions(\LimeSurvey\Models\Services\array<string,mixed> $options = array()): \LimeSurvey\Models\Services\array<string,array>
abstract

Arguments

$options

\LimeSurvey\Models\Services\array

to use

Response

\LimeSurvey\Models\Services\array

array of question attribute definitions

Extracts the question type from the $options.

getQuestionType(\LimeSurvey\Models\Services\array<string,mixed> $options): 
static

If it's not explicitly set, it tries to use a question object.

Arguments

$options

\LimeSurvey\Models\Services\array

Response