staticControl() public static method
Renders Bootstrap static form control.
By default value will be HTML-encoded using encode(), you may control this behavior via 'encode' option.
See also http://getbootstrap.com/css/#forms-controls-static.
public static string staticControl ( $value, $options = [] ) | ||
---|---|---|
$value | string |
Static control value. |
$options | array |
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. There are also a special options:
|
return | string |
Generated HTML |
Please login to continue.