API17:JEditor::getInstance
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 28: | Line 28: | ||
The Editor object. | The Editor object. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/html/editor.php | + | libraries/joomla/html/editor.php (line 69) |
| + | * see source code in [[jplatform:html/editor.php#cl-69|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
| − | * [[JFactory | + | * [[JFactory::getEditor/11.1|JFactory::getEditor]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 20:24, 23 April 2011
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.
JEditor::getInstance
Description
Returns the global Editor object, only creating it if it doesn't already exist.
Description:JEditor::getInstance [Edit Descripton]
Synopsis
public static JEditor::getInstance ($editor= 'none')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $editor | string | 'none' | The editor to use. |
Returns
The Editor object.
Defined in
libraries/joomla/html/editor.php (line 69)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
