MultiOptionsFieldData

Type
Class
Namespace
craft\fields\data
Inherits
craft\fields\data\MultiOptionsFieldData » ArrayObject (opens new window)
Since
3.0.0

Multi-select option field data class.

View source (opens new window)

# Public Methods

Method Description
contains()
getOptions() Returns the options.
setOptions() Sets the options.

# contains()

View source (opens new window)

Arguments

  • $value (mixed)

Returns

boolean (opens new window)

# getOptions()

Returns the options.

View source (opens new window)

Returns

craft\fields\data\OptionData[]

# setOptions()

Sets the options.

View source (opens new window)

Arguments