PHP Class Horde_Editor, horde
Copyright 2003-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Mostra file
Open project: horde/horde
Protected Properties
Property |
Type |
Description |
|
$_browser |
Horde_Browser |
A browser detection object. |
|
$_js |
string |
Javascript code to init the editor. |
|
Public Methods
Method Details
__construct()
public method
public __construct ( Horde_Browser $browser ) |
$browser |
Horde_Browser |
|
Returns the JS code needed to instantiate the editor.
public getJS ( ) : array |
return |
array |
Two keys:
- files: (array) Javascript files that need to be loaded by browser.
- scrips: (array) Code that needs to be run on the browser. |
initialize()
public method
supportedByBrowser()
public method
Does the current browser support the Horde_Editor driver.
Property Details
$_browser protected_oe property
A browser detection object.
protected Horde_Browser $_browser |
return |
Horde_Browser |
|
$_js protected_oe property
Javascript code to init the editor.
protected string $_js |
return |
string |
|