Liste de tous les membres
Fonctions membres publiques |
| __construct (&$subject, $config) |
| onInit () |
| onGetContent ($editor) |
| onSetContent ($editor, $html) |
| onSave ($editor) |
| onGetInsertMethod ($name) |
| onDisplay ($name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null) |
| 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 () |
Documentation des constructeurs et destructeur
plgEditorTinymce::__construct |
( |
& |
$subject, |
|
|
|
$config |
|
) |
| |
Constructor
- Paramètres:
-
object | $subject | The object to observe |
array | $config | An array that holds the plugin configuration |
- Depuis:
- 1.5
Réimplémentée à partir de JPlugin.
Références $config.
Documentation des fonctions membres
plgEditorTinymce::_displayButtons |
( |
|
$name, |
|
|
|
$buttons, |
|
|
|
$asset, |
|
|
|
$author |
|
) |
| |
|
private |
plgEditorTinymce::_toogleButton |
( |
|
$name | ) |
|
|
private |
plgEditorTinymce::onDisplay |
( |
|
$name, |
|
|
|
$content, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$col, |
|
|
|
$row, |
|
|
|
$buttons = true , |
|
|
|
$id = null , |
|
|
|
$asset = null , |
|
|
|
$author = null |
|
) |
| |
Display the editor area.
- Paramètres:
-
string | The name of the editor area. |
string | The content of the field. |
string | The width of the editor area. |
string | The height of the editor area. |
int | The number of columns for the editor area. |
int | The number of rows for the editor area. |
boolean | True and the editor buttons will be displayed. |
string | An optional ID for the textarea. If not supplied the name is used. |
- Renvoie:
- string
plgEditorTinymce::onGetContent |
( |
|
$editor | ) |
|
TinyMCE WYSIWYG Editor - get the editor content
- Paramètres:
-
string | The name of the editor |
- Renvoie:
- string
plgEditorTinymce::onGetInsertMethod |
( |
|
$name | ) |
|
plgEditorTinymce::onInit |
( |
| ) |
|
Initialises the Editor.
- Renvoie:
- string JavaScript Initialization string
- Depuis:
- 1.5
Références $app, $db, $language, $load, $mode, $query, $return, $style, $template, $toolbar, JText\_(), JFactory\getApplication(), JFactory\getLanguage(), JPATH_SITE, JError\raiseNotice(), et JURI\root().
plgEditorTinymce::onSave |
( |
|
$editor | ) |
|
TinyMCE WYSIWYG Editor - copy editor content to form field
- Paramètres:
-
string | The name of the editor |
- Renvoie:
- string
plgEditorTinymce::onSetContent |
( |
|
$editor, |
|
|
|
$html |
|
) |
| |
TinyMCE WYSIWYG Editor - set the editor content
- Paramètres:
-
string | The name of the editor |
- Renvoie:
- string
Documentation des données membres
plgEditorTinymce::$_basePath = 'media/editors/tinymce/jscripts/tiny_mce' |
|
protected |
Base path for editor files
La documentation de cette classe a été générée à partir du fichier suivant :