public static function activeStaticControl($model, $attribute, $options = [])
    {
        if (isset($options['value'])) {
            $value = $options['value'];
            unset($options['value']);
        } else {
            $value = static::getAttributeValue($model, $attribute);
        }
        return static::staticControl($value, $options);
    }
public static function activeStaticControl($model, $attribute, $options = [])
    {
        if (isset($options['value'])) {
            $value = $options['value'];
            unset($options['value']);
        } else {
            $value = static::getAttributeValue($model, $attribute);
        }
        return static::staticControl($value, $options);
    }
public static function activeStaticControl ( $ model , $ attribute , $ options = [ ] ) { if ( isset ( $ options [ 'value' ] ) ) { $ value = $ options [ 'value' ] ; unset ( $ options [ 'value' ] ) ; } else { $ value = static :: getAttributeValue ( $ model , $ attribute ) ; } return static :: staticControl ( $ value , $ options ) ; }
Generates a Bootstrap static form control for the given model attribute.
@param \yii\base\Model $model the model object.
@param string $attribute the attribute name or expression. See [[getAttributeName()]] for the format
about attribute expression.
@param array $options the tag options in terms of name-value pairs. See [[staticControl()]] for details.
@return string generated HTML
@see staticControl()
Generates a Bootstrap static form control for the given model attribute .