framework/web/helpers/CHtml.php
Line 1137:
public static function activeTextArea($model,$attribute,$htmlOptions=array())
{
self::resolveNameID($model,$attribute,$htmlOptions);
self::clientChange('change',$htmlOptions);
if($model->hasErrors($attribute))
self::addErrorCss($htmlOptions);
$raw=isset($htmlOptions['encode']) && !$htmlOptions['encode'];
return self::tag('textarea',$htmlOptions,($raw?$model->$attribute : self::encode($model->$attribute)));
}