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.
Afficher le fichier
Open project: horde/horde
Protected Properties
Свойство |
Type |
Description |
|
$_browser |
Horde_Browser |
A browser detection object. |
|
$_js |
string |
Javascript code to init the editor. |
|
Méthodes publiques
Method Details
__construct()
public méthode
public __construct ( Horde_Browser $browser ) |
$browser |
Horde_Browser |
|
Returns the JS code needed to instantiate the editor.
public getJS ( ) : array |
Résultat |
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 méthode
supportedByBrowser()
public méthode
Does the current browser support the Horde_Editor driver.
Property Details
$_browser protected_oe property
A browser detection object.
protected Horde_Browser $_browser |
Résultat |
Horde_Browser |
|
$_js protected_oe property
Javascript code to init the editor.
protected string $_js |
Résultat |
string |
|