Class JFormFieldEditor

Description

Form Field class for the Joomla CMS.

A textarea field for content creation

Located in /libraries/cms/form/field/editor.php (line 23)

JFormField
   |
   --JFormFieldTextarea
      |
      --JFormFieldEditor
Direct descendents
Class Description
 class FOFFormFieldEditor Form Field class for the FOF framework An editarea field for content creation and formatted HTML display
Variable Summary
 string $asset
 string $assetField
 string $authorField
 mixed $buttons
 array $editorType
 string $height
 array $hide
 string $type
 string $width
Method Summary
 string getInput ()
 string save ()
 boolean setup (SimpleXMLElement $element, mixed $value, [string $group = null])
 mixed __get (string $name)
 void __set (string $name, mixed $value)
Variables
string $asset (line 79)

The asset of the editor.

  • since: 3.2
  • access: protected
string $assetField (line 63)

The assetField of the editor.

  • since: 3.2
  • access: protected
string $authorField (line 71)

The authorField of the editor.

  • since: 3.2
  • access: protected
mixed $buttons (line 87)

The buttons of the editor.

  • since: 3.2
  • access: protected
JEditor $editor (line 39)

The JEditor object.

  • since: 1.6
  • access: protected
array $editorType (line 103)

The editorType of the editor.

  • since: 3.2
  • access: protected
string $height (line 47)

The height of the editor.

  • since: 3.2
  • access: protected
array $hide (line 95)

The hide of the editor.

  • since: 3.2
  • access: protected
string $type = 'Editor' (line 31)

The form field type.

  • since: 1.6
  • access: public

Redefinition of:
JFormFieldTextarea::$type
The form field type.
string $width (line 55)

The width of the editor.

  • since: 3.2
  • access: protected

Inherited Variables

Inherited from JFormFieldTextarea

JFormFieldTextarea::$columns
JFormFieldTextarea::$rows

Inherited from JFormField

JFormField::$autocomplete
JFormField::$autofocus
JFormField::$class
JFormField::$count
JFormField::$default
JFormField::$description
JFormField::$disabled
JFormField::$element
JFormField::$fieldname
JFormField::$form
JFormField::$formControl
JFormField::$generated_fieldname
JFormField::$group
JFormField::$hidden
JFormField::$hint
JFormField::$id
JFormField::$input
JFormField::$label
JFormField::$labelClass
JFormField::$multiple
JFormField::$name
JFormField::$onchange
JFormField::$onclick
JFormField::$pattern
JFormField::$readonly
JFormField::$repeat
JFormField::$required
JFormField::$size
JFormField::$spellcheck
JFormField::$translateDescription
JFormField::$translateHint
JFormField::$translateLabel
JFormField::$validate
JFormField::$value
Methods
getEditor (line 262)

Method to get a JEditor object based on the form field.

  • return: The JEditor object.
  • since: 1.6
  • access: protected
JEditor getEditor ()
getInput (line 243)

Method to get the field input markup for the editor area

  • return: The field input markup.
  • since: 1.6
  • access: protected
string getInput ()

Redefinition of:
JFormFieldTextarea::getInput()
Method to get the textarea field input markup.
save (line 320)

Method to get the JEditor output for an onSave event.

  • return: The JEditor object output.
  • since: 1.6
  • access: public
string save ()
setup (line 200)

Method to attach a JForm object to the field.

boolean setup (SimpleXMLElement $element, mixed $value, [string $group = null])
  • 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 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]".

Redefinition of:
JFormFieldTextarea::setup()
Method to attach a JForm object to the field.
__get (line 114)

Method to get certain otherwise inaccessible properties from the form field object.

  • return: The property value or null.
  • since: 3.2
  • access: public
mixed __get (string $name)
  • string $name: The property name for which to the the value.

Redefinition of:
JFormFieldTextarea::__get()
Method to get certain otherwise inaccessible properties from the form field object.

Redefined in descendants as:
__set (line 142)

Method to set certain otherwise inaccessible properties of the form field object.

  • since: 3.2
  • access: public
void __set (string $name, mixed $value)
  • string $name: The property name for which to the the value.
  • mixed $value: The value of the property.

Redefinition of:
JFormFieldTextarea::__set()
Method to set certain otherwise inaccessible properties of the form field object.

Inherited Methods

Inherited From JFormFieldTextarea

 JFormFieldTextarea::getInput()
 JFormFieldTextarea::setup()
 JFormFieldTextarea::__get()
 JFormFieldTextarea::__set()

Inherited From JFormField

 JFormField::__construct()
 JFormField::getAttribute()
 JFormField::getControlGroup()
 JFormField::getFieldName()
 JFormField::getId()
 JFormField::getInput()
 JFormField::getLabel()
 JFormField::getName()
 JFormField::getTitle()
 JFormField::setForm()
 JFormField::setup()
 JFormField::setValue()
 JFormField::__get()
 JFormField::__set()

Documentation generated on Tue, 19 Nov 2013 15:02:15 +0100 by phpDocumentor 1.4.3