public static function activeUneditableField($model, $attribute, $htmlOptions = array())
    {
        parent::resolveNameID($model, $attribute, $htmlOptions);
        $value = parent::resolveValue($model, $attribute);
        TbArray::removeValues(array('name', 'id'), $htmlOptions);
        return self::uneditableField($value, $htmlOptions);
    }
public static function activeUneditableField($model, $attribute, $htmlOptions = array())
    {
        parent::resolveNameID($model, $attribute, $htmlOptions);
        $value = parent::resolveValue($model, $attribute);
        TbArray::removeValues(array('name', 'id'), $htmlOptions);
        return self::uneditableField($value, $htmlOptions);
    }
public static function activeUneditableField ( $ model , $ attribute , $ htmlOptions = array ( ) ) { parent :: resolveNameID ( $ model , $ attribute , $ htmlOptions ) ; $ value = parent :: resolveValue ( $ model , $ attribute ) ; TbArray :: removeValues ( array ( 'name' , 'id' ) , $ htmlOptions ) ; return self :: uneditableField ( $ value , $ htmlOptions ) ; }
Generates an uneditable input for a model attribute.
@param CModel $model the data model.
@param string $attribute the attribute.
@param array $htmlOptions additional HTML attributes.
@return string the generated input.
Generates an uneditable input for a model attribute .