Actions

API15

Difference between revisions of "JEditor"

From Joomla! Documentation

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

Latest revision as of 12:36, 25 March 2010

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JEditor

Contents

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] SeeAlso:JEditor

Examples

<CodeExamplesForm />