Actions

API17

Difference between revisions of "JEditor::setContent"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JEditor::setContent|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JEditor::setContent|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JEditor->setContent ($editor, $html)
+
public function setContent (
 +
        $editor
 +
        $html
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string
string
+
* '''Defined''' on line 233 of libraries/joomla/html/editor.php
===Defined in===
+
libraries/joomla/html/editor.php
+
===Referenced by===
+
 
===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>
* [[JEditor/11.1|JEditor]]
+
===User contributed notes===
* [[JEditor::setContent|Other versions of this method]]
+
{{SeeAlso:JEditor::setContent}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 50: 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

Replacement filing cabinet.png
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.

Joomla 11.1 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

SeeAlso:JEditor::setContent [Edit See Also]

User contributed notes

<CodeExamplesForm />