Sunnysideup\Ecommerce\Forms\Fields\YesNoDropDownField::__construct
Signature
public function __construct([string
$name = '',
[string
$title = '',
[array
$source = ,
[mixed
$value = NULL]]]] )
Parameters
$name
— string- The field name
$title
— string- The field title
$source
— array- A map of the dropdown items
$value
— mixed- The current value