OptionData

Type
Class
Namespace
Craft
Inherits
Craft\OptionData
Extended by
Craft\SingleOptionFieldData
Since
1.0

Class OptionData

See also http://craftcms.com

View source

Public Properties

$label

Signature

public string $label = null

$selected

Signature

public  $selected = null

$value

Signature

public string $value = null

Public Methods

MethodDescription
__construct()Constructor
__toString()

__construct()

Constructor

View source

Arguments

Returns

Craft\OptionData

Signature

public Craft\OptionData __construct ( $label, $value, $selected )

__toString()

Signature

public string __toString ( )