PlgEditorCodemirror::onDisplay
Display the editor area.
Signature
public function onDisplay(string
$name,
[string
$content = true,
[string
$width = true,
[string
$height = true,
[integer
$col = true,
[integer
$row = true,
[boolean
$buttons = true,
[string
$id = null,
[string
$asset = null,
[
$author = null,
array
$params]]]]]]]]] )
Parameters
-
$name
- The control name.
-
$content
- The contents of the text area.
-
$width
- The width of the text area (px or %).
-
$height
- The height of the text area (px or %).
-
$col
- The number of columns for the textarea.
-
$row
- The number of rows for the textarea.
-
$buttons
- True and the editor buttons will be displayed.
-
$id
- An optional ID for the textarea (note: since 1.6). If not supplied the name is used.
-
$asset
- Unused
-
$author
- Unused
-
$params
- Associative array of editor parameters.
Returns
- string
- HTML Output