JEditor/ construct: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 37: | Line 37: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JEditor | category=JEditor | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:34, 25 March 2017
Description
constructor
<! removed transcluded page call, red link never existed >
Syntax
__construct($editor= 'none')
| Parameter Name | Default Value | Description |
|---|---|---|
| $editor | 'none' | The editor name |
Defined in
libraries/joomla/html/editor.php
Importing
jimport( 'joomla.html.editor' );
Source Body
public function __construct($editor = 'none')
{
$this->_name = $editor;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples