API15

JEditor: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
No edit summary
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JEditor}}
<nowiki>[</nowiki>[[Description:JEditor|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JEditor}}


===Defined in===
===Defined in===
Line 40: Line 37:
<source lang="php">jimport( 'joomla.html.editor' );</source>
<source lang="php">jimport( 'joomla.html.editor' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JEditor|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JEditor}}
</span>
{{SeeAlso:JEditor}}


===Examples===
===Examples===

Revision as of 13:18, 24 March 2017

{{subst:Description:JEditor}}

Defined in

libraries/joomla/html/editor.php

Methods

Method name Description
__construct constructor
getInstance Returns a reference to a global Editor object, only creating it if it doesn't already exist.
initialise Initialize the editor
display Present a text area
save Save the editor content
getContent Get the editor contents
setContent Set the editor contents
getButtons Get the editor buttons

Importing

jimport( 'joomla.html.editor' );


{{subst:SeeAlso:JEditor}}

Examples

<CodeExamplesForm />