helpers\BaseHtml buttonInput()

buttonInput() public static method

Generates an input button.

public static string buttonInput ( $label = 'Button', $options = [] )
$label string

The value attribute. If it is null, the value attribute will not be generated.

$options array

The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered.

return string

The generated button tag

doc_Yii
2016-10-30 17:05:00
Comments
Leave a Comment

Please login to continue.