WysiwygAppHelper::textarea PHP Method

textarea() public method

Creates an fckeditor textarea
public textarea ( string $fieldName, array $options = [], array $helperOptions = [] ) : string
$fieldName string This should be "Modelname.fieldname"
$options array Each type of input takes different options.
$helperOptions array Each type of wysiwyg helper takes different options.
return string An HTML textarea element with Wysiwyg Js
    public function textarea($fieldName, $options = array(), $helperOptions = array())
    {
        $helperOptions = Set::merge($this->_helperOptions, $helperOptions);
        return $this->Form->textarea($fieldName, $options) . $this->_build($fieldName, $helperOptions);
    }