Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe EditorField
+ Graphe d'héritage de EditorField:

Fonctions membres publiques

 __get ($name)
 
 __set ($name, $value)
 
 setup (\SimpleXMLElement $element, $value, $group=null)
 
 save ()
 
- Fonctions membres publiques hérités de JFormFieldTextarea
 __get ($name)
 
 __set ($name, $value)
 
 setup (SimpleXMLElement $element, $value, $group=null)
 

Champs de données

 $type = 'Editor'
 

Fonctions membres protégées

 getInput ()
 
 getEditor ()
 
- Fonctions membres protégées hérités de JFormFieldTextarea
 getInput ()
 
 getLayoutData ()
 

Attributs protégés

 $editor
 
 $height
 
 $width
 
 $assetField
 
 $authorField
 
 $asset
 
 $buttons
 
 $hide
 
 $editorType
 
- Attributs protégés hérités de JFormFieldTextarea
 $type = 'Textarea'
 
 $rows
 
 $columns
 
 $maxlength
 
 $layout = 'joomla.form.field.textarea'
 

Description détaillée

A textarea field for content creation

Voir également
JEditor
Depuis
1.6

Documentation des fonctions membres

◆ __get()

__get (   $name)

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

Paramètres
string$nameThe property name for which to get the value.
Renvoie
mixed The property value or null.
Depuis
3.2

Références $name.

◆ __set()

__set (   $name,
  $value 
)

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

Paramètres
string$nameThe property name for which to set the value.
mixed$valueThe value of the property.
Renvoie
void
Depuis
3.2

Références $name, $value, et elseif.

◆ getEditor()

getEditor ( )
protected

Method to get an Editor object based on the form field.

Renvoie
Editor The Editor object.
Depuis
1.6

Références $db, $editor, $query, Factory\getConfig(), Factory\getDbo(), Editor\getInstance(), et null.

◆ getInput()

getInput ( )
protected

Method to get the field input markup for the editor area

Renvoie
string The field input markup.
Depuis
1.6

Références $editor, $params, ENT_COMPAT, height, htmlspecialchars, name, value, et width.

◆ save()

save ( )

Method to get the JEditor output for an onSave event.

Renvoie
string The JEditor object output.
Depuis
1.6
Obsolète:
4.0 Will be removed without replacement
Voir également
Editor::save()

Références $editor.

◆ setup()

setup ( \SimpleXMLElement  $element,
  $value,
  $group = null 
)

Method to attach a JForm object to the field.

Paramètres
\SimpleXMLElement$elementThe SimpleXMLElement object representing the <field> tag for the form field object.
mixed$valueThe form field value to validate.
string$groupThe 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]".
Renvoie
boolean True on success.
Voir également
FormField::setup()
Depuis
3.2

Références $buttons, $hide, $value, elseif, height, et width.

Documentation des champs

◆ $asset

$asset
protected

◆ $assetField

$assetField
protected

◆ $authorField

$authorField
protected

◆ $buttons

$buttons
protected

◆ $editor

$editor
protected

◆ $editorType

$editorType
protected

◆ $height

$height
protected

◆ $hide

$hide
protected

◆ $type

$type = 'Editor'

◆ $width

$width
protected

La documentation de cette classe a été générée à partir du fichier suivant :