Sunnysideup\CMSNiceties\Forms\CMSNicetiesLinkButton::__construct
Creates a new field.
Signature
public function __construct(string
$name,
[null|string|ViewableData
$label = NULL,
[mixed
$link = NULL]] )
Parameters
$name
— string- the internal field name, passed to forms
$label
— object- the human-readable field label
$link
— mixed- the value of the field