Field

Extends\CModel

Class Field describes a column in responses data table

package

Default

Methods

Field constructor.

__construct(\Question|null $question = null)

Arguments

$question

\Question|null

{@inheritdoc}

attributeLabels()

{@inheritdoc}

attributeNames()

getType

getType(): string

Response

string

Constants

TYPE_STRING

TYPE_STRING

TYPE_CHAR

TYPE_CHAR

TYPE_INTEGER

TYPE_INTEGER

TYPE_DOUBLE

TYPE_DOUBLE

TYPE_DATE

TYPE_DATE

TYPE_DATETIME

TYPE_DATETIME

DEFAULT_STRING_LENGTH

DEFAULT_STRING_LENGTH

Properties

question

question :\Question
var

Type(s)

\Question

Field column name

name :string
var

Field column name

Type(s)

string

type

type :string

Type(s)

string