Difference between revisions of "JEditor::getInstance"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JEditor::getInstance|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JEditor::getInstance|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function getInstance ($editor= 'none') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' The Editor object. | |
− | The Editor object. | + | * '''Defined''' on line 69 of libraries/joomla/html/editor.php |
− | + | * '''Referenced by''' | |
− | libraries/joomla/html/editor.php | + | ** [[JFactory::getEditor/11.1|JFactory::getEditor]] |
− | * | ||
− | |||
− | * [[JFactory::getEditor/11.1|JFactory::getEditor]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JEditor::getInstance source code''' on [[jplatform:html/editor.php#cl-61|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JEditor/11.1|JEditor]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JEditor::getInstance|Other versions of JEditor::getInstance]] | ||
+ | {{SeeAlso:JEditor::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JEditor::getInstance|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JEditor::getInstance|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 47: | Line 45: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JEditor]][[Category:JEditor::getInstance]]</noinclude> | <noinclude>[[Category:JEditor]][[Category:JEditor::getInstance]]</noinclude> |
Revision as of 20:50, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JEditor::getInstance[edit]
Description[edit]
Returns the global Editor object, only creating it if it doesn't already exist.
Template:Description:JEditor::getInstance [Edit Descripton]
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[edit]
- JEditor::getInstance source code on BitBucket
- Class JEditor
- Subpackage Html
- Other versions of JEditor::getInstance
Template:SeeAlso:JEditor::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />