Difference between revisions of "JEditor::setContent"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JEditor::setContent|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JEditor::setContent|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function setContent ( |
+ | $editor | ||
+ | $html | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string | |
− | string | + | * '''Defined''' on line 233 of libraries/joomla/html/editor.php |
− | |||
− | libraries/joomla/html/editor.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JEditor::setContent source code''' on [[jplatform:html/editor.php#cl-225|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JEditor/11.1|JEditor]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JEditor::setContent|Other versions of JEditor::setContent]] | ||
+ | {{SeeAlso:JEditor::setContent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JEditor::setContent|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JEditor::setContent|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 51: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JEditor]][[Category:JEditor::setContent]]</noinclude> | <noinclude>[[Category:JEditor]][[Category:JEditor::setContent]]</noinclude> |
Revision as of 20:50, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JEditor::setContent[edit]
Description[edit]
Set the editor contents.
Template:Description:JEditor::setContent [Edit Descripton]
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[edit]
- JEditor::setContent source code on BitBucket
- Class JEditor
- Subpackage Html
- Other versions of JEditor::setContent
Template:SeeAlso:JEditor::setContent [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />