MultiOptionsFieldData

Type
Class
Namespace
Craft
Inherits
Craft\MultiOptionsFieldData » ArrayObject
Since
1.0

Multi-select option field data class.

See also http://craftcms.com

View source

Public Methods

MethodDescription
contains()
getOptions()Returns the options.
setOptions()Sets the options.

contains()

View source

Arguments

  • $value (mixed)

Returns

boolean

Signature

public boolean contains ( $value )

getOptions()

Returns the options.

View source

Returns

array, null

Signature

public array, null getOptions ( )

setOptions()

Sets the options.

View source

Arguments

Signature

public void setOptions ( $options )