API17

JEditor: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 6: Line 6:
===Defined in===
===Defined in===
libraries/joomla/html/editor.php
libraries/joomla/html/editor.php
* see source code in [[jplatform:html/editor.php|BitBucket]]
===Subpackage===
===Subpackage===
[[Subpackage Html/11.1|Html]]
[[Subpackage Html/11.1|Html]]
Line 48: Line 49:
<source lang="php">jimport( 'joomla.html.editor' );</source>
<source lang="php">jimport( 'joomla.html.editor' );</source>
===See also===
===See also===
* JEditor source code in [[jplatform:html/editor.php|BitBucket]]
* [[JEditor|Other versions of this class]]
* [[JEditor|Other versions of this class]]
{{SeeAlso:JEditor}}
{{SeeAlso:JEditor}}

Revision as of 22:52, 23 April 2011

[Edit Descripton] Template:Description:JEditor

Defined in

libraries/joomla/html/editor.php

Subpackage

Html

Extends

JObservable

Extended by

Methods

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

Importing

jimport( 'joomla.html.editor' );

See also

Template:SeeAlso:JEditor [Edit See Also]

Examples

<CodeExamplesForm />