API15

JEditor: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JEditor}}
===Defined in===
===Defined in===
libraries/joomla/html/editor.php
libraries/joomla/html/editor.php
Line 38: Line 36:




{{subst:SeeAlso:JEditor}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JEditor
  category=JEditor
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 00:32, 25 March 2017

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' );



Examples

Code Examples