JEditor: Difference between revisions
From Joomla! Documentation
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: | ||
{{subst:Description:JEditor}} | |||
{{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> | ||
{{subst:SeeAlso:JEditor}} | |||
{{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 />