API17:JEditor::setContent
From Joomla! Documentation
JEditor::setContent
Description
Set the editor contents.
public function setContent (
$editor
$html
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $editor | string | The name of the editor control | |
| $html | string | The contents of the text area |
- Returns string
- Defined on line 233 of libraries/joomla/html/editor.php
See also
JEditor::setContent source code on BitBucket
Class JEditor
Subpackage Html- Other versions of JEditor::setContent
User contributed notes
Code Examples