public function textArea(TextArea $textArea)
    {
        $value = htmlentities($textArea->getValue(), ENT_QUOTES, 'UTF-8');

        $tag = new Tag('textarea', $value);
        $tag->setAttribute('cols', $textArea->getCols());
        $tag->setAttribute('rows', $textArea->getRows());

        return $this->parseTag($tag, $textArea);
    }
public function textArea(TextArea $textArea)
    {
        $value = htmlentities($textArea->getValue(), ENT_QUOTES, 'UTF-8');

        $tag = new Tag('textarea', $value);
        $tag->setAttribute('cols', $textArea->getCols());
        $tag->setAttribute('rows', $textArea->getRows());

        return $this->parseTag($tag, $textArea);
    }
public function textArea ( TextArea $ textArea ) { $ value = htmlentities ( $ textArea -> getValue ( ) , ENT_QUOTES , 'UTF-8' ) ; $ tag = new Tag ( 'textarea' , $ value ) ; $ tag -> setAttribute ( 'cols' , $ textArea -> getCols ( ) ) ; $ tag -> setAttribute ( 'rows' , $ textArea -> getRows ( ) ) ; return $ this -> parseTag ( $ tag , $ textArea ) ; }
Render a TextArea

@param TextArea $textArea
@return string
Render a TextArea