LimeSurvey API - Master branch

DataSetGenderDropdown extends QuestionBaseDataSet
in package

This is a base class to enable all question tpyes to extend the general settings.

Table of Contents

Properties

$iQuestionId  : mixed
$oQuestion  : mixed
$sLanguage  : mixed
$sQuestionType  : mixed

Methods

__construct()  : mixed
attributeNames()  : mixed
{@inheritdoc}
findOne()  : null|static
getGeneralSettingsArray()  : array<string|int, mixed>
Returns a preformatted block of the general settings for the question editor
modelsAttributes()  : array<string|int, mixed>
Models attributes as array indexed by primary key

Properties

Methods

__construct()

public __construct(mixed $iQuestionId) : mixed
Parameters
$iQuestionId : mixed

attributeNames()

{@inheritdoc}

public attributeNames() : mixed

findOne()

public static findOne(string $pk) : null|static
Parameters
$pk : string

primary key of model

Return values
null|static

getGeneralSettingsArray()

Returns a preformatted block of the general settings for the question editor

public getGeneralSettingsArray([int $iQuestionID = null ][, int $sQuestionType = null ][, string $sLanguage = null ][, null $questionThemeName = null ]) : array<string|int, mixed>
Parameters
$iQuestionID : int = null
$sQuestionType : int = null
$sLanguage : string = null
$questionThemeName : null = null
Tags
throws
CException
Return values
array<string|int, mixed>

modelsAttributes()

Models attributes as array indexed by primary key

public static modelsAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results