Contao\TextArea::generate PHP Method

generate() public method

Generate the widget and return it as string
public generate ( ) : string
return string
    public function generate()
    {
        if ($this->rte) {
            $this->strClass = trim($this->strClass . ' noresize');
        }
        return sprintf('<textarea name="%s" id="ctrl_%s" class="tl_textarea%s" rows="%s" cols="%s"%s onfocus="Backend.getScrollOffset()">%s</textarea>%s', $this->strName, $this->strId, $this->strClass != '' ? ' ' . $this->strClass : '', $this->intRows, $this->intCols, $this->getAttributes(), \StringUtil::specialchars($this->varValue), $this->wizard);
    }