API17

JEditor: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JEditor==
<nowiki>[</nowiki>[[Description:JEditor|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JEditor}}
 
===Defined in===
libraries/joomla/html/editor.php
===Subpackage===
[[Subpackage Html/11.1|Html]]
===Extends===
[[JObservable/11.1|JObservable]]
===Extended by===
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
!Visibility
!Method name
!Method name
!Description
!Description
|-
|-
|[[JEditor::__construct/11.1|__construct]]
|public
|constructor
|[[API17:JEditor::__construct|__construct]]
|Constructor.
|-
|-
|[[JEditor::display/11.1|display]]
|public
|[[API17:JEditor::display|display]]
|Display the editor area.  
|Display the editor area.  
|-
|-
|[[JEditor::getButtons/11.1|getButtons]]
|public
|[[API17:JEditor::getButtons|getButtons]]
|Get the editor buttons.  
|Get the editor buttons.  
|-
|-
|[[JEditor::getContent/11.1|getContent]]
|public
|[[API17:JEditor::getContent|getContent]]
|Get the editor contents.  
|Get the editor contents.  
|-
|-
|[[JEditor::initialise/11.1|initialise]]
|public
|[[API17:JEditor::initialise|initialise]]
|Initialise the editor.  
|Initialise the editor.  
|-
|-
|[[JEditor::save/11.1|save]]
|public
|[[API17:JEditor::save|save]]
|Save the editor content.  
|Save the editor content.  
|-
|-
|[[JEditor::setContent/11.1|setContent]]
|public
|[[API17:JEditor::setContent|setContent]]
|Set the editor contents.  
|Set the editor contents.  
|-
|-
|[[JEditor::getInstance/11.1|getInstance]]
|public static
|[[API17:JEditor::getInstance|getInstance]]
|Returns the global Editor object, only creating it if it doesn't already exist.  
|Returns the global Editor object, only creating it if it doesn't already exist.  
|-
|-
|[[JEditor::_loadEditor/11.1|_loadEditor]]
|protected
|[[API17:JEditor::_loadEditor|_loadEditor]]
|Load the editor.  
|Load the editor.  
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/html/editor.php
* '''Extends''' [[API17:JObservable|JObservable]]
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.html.editor' );</source>
<source lang="php">jimport( 'joomla.html.editor' );</source>
===See also===
===See also===
* [[JEditor|Other versions of this class]]
* {{JVer|11.1}} '''JEditor source code''' on [[jplatform:html/editor.php|BitBucket]]
{{SeeAlso:JEditor}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]]
<span class="editsection" style="font-size:76%;">
* [[API17:JEditor|Other versions of JEditor]]
<nowiki>[</nowiki>[[SeeAlso:JEditor|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JEditor
category=JEditor
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JEditor]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:55, 25 March 2017

Joomla 11.1 JEditor

Description

Methods

Visibility Method name Description
public __construct Constructor.
public display Display the editor area.
public getButtons Get the editor buttons.
public getContent Get the editor contents.
public initialise Initialise the editor.
public save Save the editor content.
public setContent Set the editor contents.
public static getInstance Returns the global Editor object, only creating it if it doesn't already exist.
protected _loadEditor Load the editor.
  • Defined in libraries/joomla/html/editor.php
  • Extends JObservable

Importing

jimport( 'joomla.html.editor' );

See also


User contributed notes

Code Examples