\CustomHTMLEditorConfig
This basically just exists to give us getter methods for protected properties of HTMLEditorConfig We "wrap" the HTMLEditorConfig object in an HTMLEditorConfig subclass so it has access to the protected $settings property This actually just stores the identifier rather than the object itself because we need to know the identifier for the JS.
It also provides a copy() static method that duplicates editor configs for convenience
Synopsis
class CustomHTMLEditorConfig
extends HTMLEditorConfig
{
- // members
- public $configIdentifier;
- // methods
- public void __construct()
- public static void get()
- public static void copy()
- public void getSettings()
- public void getConfig()
- public void getButtons()
- public array getPlugins()
Hierarchy
Extends
- HTMLEditorConfig
Members
public
-
$configIdentifier
The identifier string
Methods
public
- __construct() — Constructor is passed the identifier of teh HTMLEditorConfig we want to wrap
- copy() — Creates a new config by cloning an existing one. Just a helplful utility function
- get() — Used like HTMLEditorConfig::get() but returns the config wrapped in an CustomHTMLEditorConfig
- getButtons() — Returns the buttons array of the wrapped config
- getConfig() — Returns the wrapped config
- getPlugins() — Returns the plugins array of the wrapped config
- getSettings() — Returns the settings array of the wrapped config