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... |
No edit summary |
||
| Line 36: | Line 36: | ||
|Get the editor buttons | |Get the editor buttons | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.editor' );</source> | <source lang="php">jimport( 'joomla.html.editor' );</source> | ||
Revision as of 17:36, 25 March 2010
[Edit Descripton] Template: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' );
[Edit See Also] Template:SeeAlso:JEditor
Examples
<CodeExamplesForm />