API17:JEditor::setContent
From Joomla! Documentation
(Difference between revisions)
(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
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]
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
SeeAlso:JEditor::setContent [Edit See Also]
User contributed notes
<CodeExamplesForm />
