PHP Class Horde_Editor_Ckeditor, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Editor
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
initialize ( array $params = [] )
supportedByBrowser ( ) : boolean Does the current browser support this driver.

Method Details

initialize() public method

public initialize ( array $params = [] )
$params array The following configuration parameters: - basic: (boolean) Load "basic" editor (a small javascript stub that will download the full code on demand)? - config: (mixed) If an array, the javascript config hash used to indiciate the config for this editor instance. If a string, will be used directly as the javascript config name to use when loading (must exist elsewhere in page). - id: (string) The ID of the text area to turn into an editor. If empty, won't automatically load the editor.

supportedByBrowser() public method

Does the current browser support this driver.
public supportedByBrowser ( ) : boolean
return boolean True if the browser supports the editor.