src/Helpers/FormRenderer.php
protected function textarea(array $field)
    {
        $output = '';

        // Tag around input element.
        $output .= $this->getWrapper('input');
        $attributes = $field['attributes'];
        $attributes = $this->addAttribute($attributes, 'id', $field['id']);
        $attributes = $this->addAttribute($attributes, 'name', $field['name']);
        $output .= $this->getOpenTag('textarea', $attributes);
        $output .= htmlspecialchars($field['value'], $this->htmlSpecialCharsFlag, 'UTF-8');
        $output .= $this->getCloseTag('textarea');

        // Tag around input element.
        $output .= $this->getWrapperEnd('input');

        return $output;
    }
protected function textarea(array $field)
    {
        $output = '';

        // Tag around input element.
        $output .= $this->getWrapper('input');
        $attributes = $field['attributes'];
        $attributes = $this->addAttribute($attributes, 'id', $field['id']);
        $attributes = $this->addAttribute($attributes, 'name', $field['name']);
        $output .= $this->getOpenTag('textarea', $attributes);
        $output .= htmlspecialchars($field['value'], $this->htmlSpecialCharsFlag, 'UTF-8');
        $output .= $this->getCloseTag('textarea');

        // Tag around input element.
        $output .= $this->getWrapperEnd('input');

        return $output;
    }
protected function textarea ( array $ field ) { $ output = '' ; // Tag around input element. $ output .= $ this -> getWrapper ( 'input' ) ; $ attributes = $ field [ 'attributes' ] ; $ attributes = $ this -> addAttribute ( $ attributes , 'id' , $ field [ 'id' ] ) ; $ attributes = $ this -> addAttribute ( $ attributes , 'name' , $ field [ 'name' ] ) ; $ output .= $ this -> getOpenTag ( 'textarea' , $ attributes ) ; $ output .= htmlspecialchars ( $ field [ 'value' ] , $ this -> htmlSpecialCharsFlag , 'UTF-8' ) ; $ output .= $ this -> getCloseTag ( 'textarea' ) ; // Tag around input element. $ output .= $ this -> getWrapperEnd ( 'input' ) ; return $ output ; }
Renders a textarea field.

@param $field

@return string
The rendered textarea field.
Renders a textarea field .