Back to EditorField class

Method getInput

protected string
getInput
()
Method to get the field input markup for the editor area
Returns
  • string The field input markup.
Since
  • 1.6
Class: EditorField
Project: Joomla

Method getInput - Source code

/**
 * Method to get the field input markup for the editor area
 *
 * @return  string  The field input markup.
 *
 * @since   1.6
 */
protected function getInput()
{
    // Get an editor object.
    $editor = $this->getEditor();
    $params = array('autofocus' => $this->autofocus, 'readonly' => $this->readonly || $this->disabled, 'syntax' => (string) $this->element['syntax']);
    return $editor->display($this->name, htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8'), $this->width, $this->height, $this->columns, $this->rows, $this->buttons ? \is_array($this->buttons) ? array_merge($this->buttons, $this->hide) : $this->hide : false, $this->id, $this->asset, $this->form->getValue($this->authorField), $params);
}