Display the editor area.
string
onDisplay
(string $name, string $content, string $width, string $height, integer $col, integer $row, [boolean $buttons = true], [string $id = null], [string $asset = null], [object $author = null], [array $params = array()])
-
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.
Get the editor content.
string
onGetContent
(string $id)
-
string
$id: The id of the editor field.
boolean
onGetInsertMethod
(string $id)
-
string
$id: The id of the editor field
Method to handle the onInitEditor event.
string
onInit
()
Copy editor content to form field.
Not applicable in this editor.
void
onSave
()
Set the editor content.
string
onSetContent
(string $id, string $html)
-
string
$id: The id of the editor field.
-
string
$html: The content to set.
Displays the editor buttons.
string
_displayButtons
(string $name, mixed $buttons, string $asset, object $author)
-
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.
Inherited Methods
Inherited From JPlugin
JPlugin::__construct()
JPlugin::loadLanguage()
Inherited From JEvent
JEvent::__construct()
JEvent::update()
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()