public function textarea($name, $value = '', $options = [])
    {
        if (!isset($options['id'])) {
            $options['id'] = $name;
        }

        $options['name'] = $name;

        return '<textarea'.$this->attributes($options).'>'.$value.'</textarea>';
    }
public function textarea($name, $value = '', $options = [])
    {
        if (!isset($options['id'])) {
            $options['id'] = $name;
        }

        $options['name'] = $name;

        return '<textarea'.$this->attributes($options).'>'.$value.'</textarea>';
    }
public function textarea ( $ name , $ value = '' , $ options = [ ] ) { if ( ! isset ( $ options [ 'id' ] ) ) { $ options [ 'id' ] = $ name ; } $ options [ 'name' ] = $ name ; return '<textarea' . $ this -> attributes ( $ options ) . '>' . $ value . '</textarea>' ; }
Creates a textarea form input box.

@param string $name    - The textarea's name
@param string $value   - The textarea's value
@param array  $options - The textarea's options

@return string
Creates a textarea form input box .