LimeSurvey API - Master branch

SchemaFactoryQuestion
in package

Table of Contents

Methods

make()  : Schema
Build an OpenAPI Schema describing a "Question" object.

Methods

make()

Build an OpenAPI Schema describing a "Question" object.

public make(SchemaContract ...$properties) : Schema

The returned object schema is titled "Question" and includes predefined fields such as qid, parentQid, sid, type, title, preg, other, mandatory, encrypted, sortOrder, scaleId, sameDefault, questionThemeName, moduleName, gid, relevance, sameScript, and an "l10ns" object that accepts arbitrary locale-keyed entries.

Parameters
$properties : SchemaContract

Additional schema properties to append to the Question schema.

Return values
Schema

The constructed Question schema.


        
On this page

Search results