JEditor/1.5

From Joomla! Documentation
< JEditor(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JEditor==
 +
===Description===
 +
{{Description:JEditor}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JEditor|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JEditor|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JEditor}}
 
===Defined in===
 
libraries/joomla/html/editor.php
 
===Subpackage===
 
[[Subpackage Html/1.5|Html]]
 
===Extends===
 
[[JObservable/1.5|JObservable]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JEditor::__construct/1.5|__construct]]
 
|[[JEditor::__construct/1.5|__construct]]
 
|constructor  
 
|constructor  
 
|-
 
|-
 +
|public
 
|[[JEditor::_loadEditor/1.5|_loadEditor]]
 
|[[JEditor::_loadEditor/1.5|_loadEditor]]
 
|Load the editor.  
 
|Load the editor.  
 
|-
 
|-
 +
|public
 
|[[JEditor::display/1.5|display]]
 
|[[JEditor::display/1.5|display]]
 
|Present a text area.  
 
|Present a text area.  
 
|-
 
|-
 +
|public
 
|[[JEditor::getButtons/1.5|getButtons]]
 
|[[JEditor::getButtons/1.5|getButtons]]
 
|Get the editor buttons.  
 
|Get the editor buttons.  
 
|-
 
|-
 +
|public
 
|[[JEditor::getContent/1.5|getContent]]
 
|[[JEditor::getContent/1.5|getContent]]
 
|Get the editor contents.  
 
|Get the editor contents.  
 
|-
 
|-
 +
|public 
 
|[[JEditor::getInstance/1.5|getInstance]]
 
|[[JEditor::getInstance/1.5|getInstance]]
 
|Returns a reference to a global Editor object, only creating it if it doesn't already exist.  
 
|Returns a reference to a global Editor object, only creating it if it doesn't already exist.  
 
|-
 
|-
 +
|public
 
|[[JEditor::initialise/1.5|initialise]]
 
|[[JEditor::initialise/1.5|initialise]]
 
|Initialize the editor.  
 
|Initialize the editor.  
 
|-
 
|-
 +
|public
 
|[[JEditor::save/1.5|save]]
 
|[[JEditor::save/1.5|save]]
 
|Save the editor content.  
 
|Save the editor content.  
 
|-
 
|-
 +
|public
 
|[[JEditor::setContent/1.5|setContent]]
 
|[[JEditor::setContent/1.5|setContent]]
 
|Set the editor contents.  
 
|Set the editor contents.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/editor.php
 +
* '''Extends''' [[JObservable/1.5|JObservable]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.editor' );</source>
 
<source lang="php">jimport( 'joomla.html.editor' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JEditor''' on [http://api.joomla.org/Joomla-Framework/Html/JEditor.html api.joomla.org]
 +
* {{JVer|1.5}} '''JEditor source code''' on [[jframework15:html/editor.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Html/1.5|Html]]
 +
* [[JEditor|Other versions of JEditor]]
 +
{{SeeAlso:JEditor}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JEditor|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JEditor|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JEditor}}
+
===User contributed notes===
* [[JEditor|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Html/JEditor.html JEditor on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: Line 71:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JEditor]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JEditor]]</noinclude>

Revision as of 18:08, 25 April 2011

Joomla 1.5 JEditor

Description

Description:JEditor [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.html.editor' );

See also

SeeAlso:JEditor [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox