resetInput() public static method
Generates a reset input button.
public static string resetInput ( $label = 'Reset', $options = [] ) | ||
---|---|---|
$label | string |
The value attribute. If it is null, the value attribute will not be generated. |
$options | array |
The attributes of the button tag. The values will be HTML-encoded using encode(). Attributes whose value is null will be ignored and not put in the tag returned. See renderTagAttributes() for details on how attributes are being rendered. |
return | string |
The generated button tag |
Please login to continue.