OptionData

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

Class OptionData

See also http://craftcms.com

View source (opens new window)

# Public Properties

# $label

Signature

public string $label = null

# $selected

Signature

public  $selected = null

# $value

Signature

public string $value = null

# Public Methods

Method Description
__construct() Constructor
__toString()

# __construct()

Signature

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

# __toString()

Signature

public string __toString ( )