API16

JEditor: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JEditor}} ===Defined in=== libra...
 
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:54, 24 March 2017

{{subst:Description:JEditor}}

Defined in

libraries/joomla/html/editor.php

Methods

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

Importing

jimport( 'joomla.html.editor' );


{{subst:SeeAlso:JEditor}}

Examples

<CodeExamplesForm />