WysiwygAppHelper::input PHP Method

input() public method

Creates an fckeditor input field
public input ( 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 input element with Wysiwyg Js
    public function input($fieldName, $options = array(), $helperOptions = array())
    {
        $helperOptions = Set::merge($this->_helperOptions, $helperOptions);
        return $this->Form->input($fieldName, $options) . $this->_build($fieldName, $helperOptions);
    }