API17:JEditor::setContent
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JEditor::setContent ($editor, $html) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 33: | Line 33: | ||
string | string | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/html/editor.php | + | libraries/joomla/html/editor.php (line 233) |
| + | * see source code in [[jplatform:html/editor.php#cl-233|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:24, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JEditor::setContent
Description
Set the editor contents.
Description:JEditor::setContent [Edit Descripton]
Synopsis
public JEditor::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 in
libraries/joomla/html/editor.php (line 233)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
