bootstrap\ActiveField staticControl()

staticControl() public method (available since version 2.0.5)

Renders Bootstrap static form control.

See also http://getbootstrap.com/css/#forms-controls-static.

public $this staticControl ( $options = [] )
$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:

  • encode: boolean, whether value should be HTML-encoded or not.
return $this

The field object itself

doc_Yii
2016-10-30 16:53:02
Comments
Leave a Comment

Please login to continue.