API17:JEditor::getInstance
From Joomla! Documentation
JEditor::getInstance
Description
Returns the global Editor object, only creating it if it doesn't already exist.
public static function getInstance ($editor= 'none')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $editor | string | 'none' | The editor to use. |
- Returns The Editor object.
- Defined on line 69 of libraries/joomla/html/editor.php
- Referenced by
See also
JEditor::getInstance source code on BitBucket
Class JEditor
Subpackage Html- Other versions of JEditor::getInstance
User contributed notes
Code Examples