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é
|
Fonctions membres publiques | |
onInit () | |
onGetContent ($id) | |
onSetContent ($id, $html) | |
onSave ($id) | |
onGetInsertMethod ($name) | |
onDisplay ( $name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array()) | |
Fonctions membres publiques statiques | |
static | getKnownButtons () |
static | getToolbarPreset () |
Fonctions membres protégées statiques | |
static | getGlobalFilters () |
Attributs protégés | |
$_basePath = 'media/editors/tinymce' | |
$autoloadLanguage = true | |
$app = null | |
Fonctions membres privées | |
_toogleButton ($name) | |
tinyButtons ($name, $excluded) | |
getPluginId () | |
onDisplayLegacy ( $name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array()) | |
TinyMCE Editor Plugin
|
private |
|
staticprotected |
|
static |
Return list of known TinyMCE buttons
Références $buttons.
Référencé par JFormFieldTinymceBuilder\getLayoutData().
|
private |
|
static |
Return toolbar presets
Référencé par JFormFieldTinymceBuilder\getLayoutData().
onDisplay | ( | $name, | |
$content, | |||
$width, | |||
$height, | |||
$col, | |||
$row, | |||
$buttons = true , |
|||
$id = null , |
|||
$asset = null , |
|||
$author = null , |
|||
$params = array() |
|||
) |
Display the editor area.
string | $name | The name of the editor area. |
string | $content | The content of the field. |
string | $width | The width of the editor area. |
string | $height | The height of the editor area. |
int | $col | The number of columns for the editor area. |
int | $row | The number of rows for the editor area. |
boolean | $buttons | True and the editor buttons will be displayed. |
string | $id | An optional ID for the textarea. If not supplied the name is used. |
string | $asset | The object asset |
object | $author | The author. |
array | $params | Associative array of editor parameters. |
Shrink the buttons if not on a mobile or if mobile view is off. If mobile view is on force into simple mode and enlarge the buttons
Références $app, $asset, $author, $buttons, $content, $db, $description, $doc, $editor, $filter, $height, $id, $lang, $language, $link, $name, $options, $params, $query, $row, $separator, $template, $title, $user, $width, HTMLHelper\_(), elseif, getDocument, JPATH_ROOT, JPATH_SITE, et null.
|
private |
Display the editor area.
string | $name | The name of the editor area. |
string | $content | The content of the field. |
string | $width | The width of the editor area. |
string | $height | The height of the editor area. |
int | $col | The number of columns for the editor area. |
int | $row | The number of rows for the editor area. |
boolean | $buttons | True and the editor buttons will be displayed. |
string | $id | An optional ID for the textarea. If not supplied the name is used. |
string | $asset | The object asset |
object | $author | The author. |
array | $params | Associative array of editor parameters. |
Shrink the buttons if not on a mobile or if mobile view is off. If mobile view is on force into simple mode and enlarge the buttons
Références $app, $buttons, $content, $db, $description, $doc, $editor, $filter, $height, $id, $lang, $language, $link, $mode, $name, $options, $params, $query, $row, $template, $title, $user, $width, HTMLHelper\_(), elseif, getDocument, JPATH_ROOT, JPATH_SITE, json_encode, et null.
onGetContent | ( | $id | ) |
TinyMCE WYSIWYG Editor - get the editor content
string | $id | The name of the editor |
Références $id, et json_encode.
onGetInsertMethod | ( | $name | ) |
Inserts html code into the editor
string | $name | The name of the editor |
onInit | ( | ) |
Initialises the Editor.
onSave | ( | $id | ) |
TinyMCE WYSIWYG Editor - copy editor content to form field
string | $id | The name of the editor |
onSetContent | ( | $id, | |
$html | |||
) |
TinyMCE WYSIWYG Editor - set the editor content
string | $id | The name of the editor |
string | $html | The html to place in the editor |
Références $html, $id, et json_encode.
|
private |
|
protected |
Base path for editor files
|
protected |
|
protected |