Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onDisplay ( $name, $content, $width, $height, $col, $row, $buttons=true, $id=null, $asset=null, $author=null, $params=array()) | |
_displayButtons ($name, $buttons, $asset, $author) | |
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 () | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Plain Textarea Editor Plugin
_displayButtons | ( | $name, | |
$buttons, | |||
$asset, | |||
$author | |||
) |
Displays the editor buttons.
string | $name | The control name. |
mixed | $buttons | [array with button objects | boolean true to display buttons] |
string | $asset | The object asset |
object | $author | The author. |
Références $buttons, $name, et Joomla\CMS\Application\getDispatcher().
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 %). |
integer | $col | The number of columns for the textarea. |
integer | $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 | The object asset |
object | $author | The author. |
array | $params | Associative array of editor parameters. |
Références $author, $buttons, $content, $height, $id, $name, $params, $readonly, et $width.