src/Helpers/Request/HtmlHelper.php
public function staticControl($value, $options = [])
    {
        $this->ensureTranslated($value);
        return $this->proxy(__FUNCTION__, [$value, $options]);
    }
public function staticControl($value, $options = [])
    {
        $this->ensureTranslated($value);
        return $this->proxy(__FUNCTION__, [$value, $options]);
    }
Renders Bootstrap static form control.

By default value will be HTML-encoded using [[encode()]], you may control this behavior
via 'encode' option.
@param string $value static control value.
@param array $options 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:

- encode: boolean, whether value should be HTML-encoded or not.

@return string generated HTML
@see http://getbootstrap.com/css/#forms-controls-static
@see Html::staticControl()