Form.php
public static function textarea($name, $body = '', array $attributes = null)
    {
        // Set the input name
        $attributes['name'] = $name;

        // Set the input id
        $attributes['id'] = (isset($attributes['id']))?$attributes['id']:$name;

        return '<textarea'.Html::attributes($attributes).'>'.$body.'</textarea>';
    }
public static function textarea($name, $body = '', array $attributes = null)
    {
        // Set the input name
        $attributes['name'] = $name;

        // Set the input id
        $attributes['id'] = (isset($attributes['id']))?$attributes['id']:$name;

        return '<textarea'.Html::attributes($attributes).'>'.$body.'</textarea>';
    }
public static function textarea ( $ name , $ body = '' , array $ attributes = null ) { // Set the input name $ attributes [ 'name' ] = $ name ; // Set the input id $ attributes [ 'id' ] = ( isset ( $ attributes [ 'id' ] ) ) ? $ attributes [ 'id' ] : $ name ; return '<textarea' . Html :: attributes ( $ attributes ) . '>' . $ body . '</textarea>' ; }
Creates a textarea form input.

echo Form::textarea('text', $text);

@param string $name       Name
@param string $body       Body
@param array  $attributes HTML attributes
@uses   Html::attributes
@return string
Creates a textarea form input .