Back to Joomla project (class list)

Class EditorField - list of methods

A textarea field for content creation

Extends

Package: Joomla\CMS\Form\Field
Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Form/Field/EditorField.php
Project: Joomla

Method Summary

public mixed
(mixed $name)

Method to get certain otherwise inaccessible properties from the form field object.
Parameters
  • string $name The property name for which to get the value.
Returns
  • mixed The property value or null.
Since
  • 3.2
Show source code of this method: __get Source Code

public void
(mixed $name, mixed $value)

Method to set certain otherwise inaccessible properties of the form field object.
Parameters
  • string $name The property name for which to set the value.
  • mixed $value The value of the property.
Returns
  • void
Since
  • 3.2
Show source code of this method: __set Source Code

public bool
(\SimpleXMLElement $element, mixed $value, mixed $group = null)

Method to attach a Form object to the field.
Parameters
  • \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
  • mixed $value The form field value to validate.
  • string $group The field name group control value. This acts as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]".
Returns
  • bool True on success.
Since
  • 3.2
-
  • \Joomla\CMS\Form\Field\FormField::setup()
Show source code of this method: setup Source Code

protected string
()

Method to get the field input markup for the editor area
Returns
  • string The field input markup.
Since
  • 1.6
Show source code of this method: getInput Source Code

protected \Joomla\CMS\Editor\Editor
()

Method to get an Editor object based on the form field.
Returns
  • \Joomla\CMS\Editor\Editor The Editor object.
Since
  • 1.6
Show source code of this method: getEditor Source Code

Properties Summary

public string
$type
The form field type.
Since
  • 1.6
protected \Joomla\CMS\Editor\Editor
$editor
The Editor object.
Since
  • 1.6
protected string
$height
The height of the editor.
Since
  • 3.2
protected string
$width
The width of the editor.
Since
  • 3.2
protected string
$assetField
The assetField of the editor.
Since
  • 3.2
protected string
$authorField
The authorField of the editor.
Since
  • 3.2
protected string
$asset
The asset of the editor.
Since
  • 3.2
protected mixed
$buttons
The buttons of the editor.
Since
  • 3.2
protected array
$hide
The hide of the editor.
Since
  • 3.2
protected array
$editorType
The editorType of the editor.
Since
  • 3.2
protected string
$parentclass
The parent class of the field
Since
  • 4.0.0

Tags Summary

Since
1.6