activeStaticControl() public static method
Generates a Bootstrap static form control for the given model attribute.
See also staticControl().
public static string activeStaticControl ( $model, $attribute, $options = [] ) | ||
---|---|---|
$model | yii\base\Model |
The model object. |
$attribute | string |
The attribute name or expression. See getAttributeName() for the format about attribute expression. |
$options | array |
The tag options in terms of name-value pairs. See staticControl() for details. |
return | string |
Generated HTML |
Please login to continue.