Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onInit () | |
onDisplay ( $name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array()) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Fonctions membres protégées | |
displayButtons ($name, $buttons, $asset, $author) | |
getFontInfo ($font) | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés | |
$autoloadLanguage = true | |
$modeAlias = array() | |
$basePath = 'media/vendor/codemirror/' | |
$modePath = 'media/vendor/codemirror/mode/%N/%N' | |
$app | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
CodeMirror Editor Plugin.
|
protected |
Displays the editor buttons.
string | $name | Button name. |
mixed | $buttons | [array with button objects | boolean true to display buttons] |
mixed | $asset | Unused. |
mixed | $author | Unused. |
Références $buttons, $name, et Joomla\CMS\Application\getDispatcher().
|
protected |
onDisplay | ( | $name, | |
$content, | |||
$width, | |||
$height, | |||
$col, | |||
$row, | |||
$buttons = true , |
|||
$id = null , |
|||
$asset = null , |
|||
$author = null , |
|||
$params = array() |
|||
) |
Display the editor area.
string | $name | The control name. |
string | $content | 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 | Not used. |
object | $author | Not used. |
array | $params | Associative array of editor parameters. |
Références $author, $buttons, $content, $displayData, $height, $id, $name, $options, $params, $result, $results, $this, $width, et __DIR__.
onInit | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |