Liste de tous les membres
Fonctions membres publiques |
| onInit () |
| onSave ($id) |
| onGetContent ($id) |
| onSetContent ($id, $content) |
| onGetInsertMethod () |
| onDisplay ($name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array()) |
| __construct (&$subject, $config=array()) |
| loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR) |
| __construct (&$subject) |
| update (&$args) |
| __construct ($properties=null) |
| __toString () |
| def ($property, $default=null) |
| get ($property, $default=null) |
| getProperties ($public=true) |
| getError ($i=null, $toString=true) |
| getErrors () |
| set ($property, $value=null) |
| setProperties ($properties) |
| setError ($error) |
| toString () |
Fonctions membres protégées |
| _displayButtons ($name, $buttons, $asset, $author) |
Documentation des fonctions membres
plgEditorCodemirror::_displayButtons |
( |
|
$name, |
|
|
|
$buttons, |
|
|
|
$asset, |
|
|
|
$author |
|
) |
| |
|
protected |
Displays the editor buttons.
- Paramètres:
-
string | $name | |
mixed | $buttons | [array with button objects | boolean true to display buttons] |
- Renvoie:
- string HTML
plgEditorCodemirror::onDisplay |
( |
|
$name, |
|
|
|
$content, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$col, |
|
|
|
$row, |
|
|
|
$buttons = true , |
|
|
|
$id = null , |
|
|
|
$asset = null , |
|
|
|
$author = null , |
|
|
|
$params = array() |
|
) |
| |
Display the editor area.
- Paramètres:
-
string | $name | The control name. |
string | $html | The contents of the text area. |
string | $width | The width of the text area (px or %). |
string | $height | The height of the text area (px or %). |
int | $col | The number of columns for the textarea. |
int | $row | The number of rows for the textarea. |
boolean | $buttons | True and the editor buttons will be displayed. |
string | $id | An optional ID for the textarea (note: since 1.6). If not supplied the name is used. |
string | $asset | |
object | $author | |
array | $params | Associative array of editor parameters. |
- Renvoie:
- string HTML
Références $asset, $author, $buttons, $height, $html, $id, $name, $options, $style, $width, JFactory\getApplication(), et JURI\root().
plgEditorCodemirror::onGetContent |
( |
|
$id | ) |
|
Get the editor content.
- Paramètres:
-
string | $id | The id of the editor field. |
- Renvoie:
- string Javascript
plgEditorCodemirror::onGetInsertMethod |
( |
| ) |
|
plgEditorCodemirror::onInit |
( |
| ) |
|
plgEditorCodemirror::onSave |
( |
|
$id | ) |
|
Copy editor content to form field.
- Paramètres:
-
string | $id | The id of the editor field. |
- Renvoie:
- string Javascript
plgEditorCodemirror::onSetContent |
( |
|
$id, |
|
|
|
$content |
|
) |
| |
Set the editor content.
- Paramètres:
-
string | $id | The id of the editor field. |
string | $content | The content to set. |
- Renvoie:
- string Javascript
Documentation des données membres
plgEditorCodemirror::$_basePath = 'media/editors/codemirror/' |
|
protected |
Base path for editor files
La documentation de cette classe a été générée à partir du fichier suivant :