SingleOptionFieldData

Type
Class
Namespace
Craft
Inherits
Craft\SingleOptionFieldData » Craft\OptionData
Since
1.0

Single-select option field data class.

See also http://craftcms.com

View source

Public Properties

Public Methods

MethodDescription
__construct()Constructor
__toString()
getOptions()Returns the options.
setOptions()Sets the options.

getOptions()

Returns the options.

View source

Returns

array, null

Signature

public array, null getOptions ( )

setOptions()

Sets the options.

View source

Arguments

Returns

null

Signature

public null setOptions ( $options )