\brief CKEditor class that can be used to create editor instances in PHP pages on server side.
Located in /template/Backend/js/ckeditor/ckeditor_php4.php (line 18)
URL to the %CKEditor installation directory (absolute or relative to document root).
If not set, CKEditor will try to guess it's path.
Example usage:
An array that holds the global %CKEditor configuration.
For the list of available options, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
Example usage:
A boolean variable indicating whether CKEditor has been initialized.
Set it to true only if you have already included <script> tag loading ckeditor.js in your website.
Boolean variable indicating whether created code should be printed out or returned by a function.
Example 1: get the code creating %CKEditor instance and print it on a page with the "echo" function.
An array with textarea attributes.
When %CKEditor is created with the editor() method, a HTML <textarea> element is created, it will be displayed to anyone with JavaScript disabled or with incompatible browser.
A string indicating the creation date of %CKEditor.
Do not change it unless you want to force browsers to not use previously cached version of %CKEditor.
A constant string unique for each release of %CKEditor.
\private
Main Constructor.
Adds event listener.
Events are fired by %CKEditor in various situations.
(string) Javascript anonymous function or function name.
Example usage:
Adds global event listener.
(string) Javascript anonymous function or function name.
Example usage:
Clear registered event handlers.
Note: this function will have no effect on already created editor instances.
Clear registered global event handlers.
Note: this function will have no effect if the event handler has been already printed/returned.
Returns the configuration array (global and instance specific settings are merged into one array).
\private
Creates a %CKEditor instance.
In incompatible browsers %CKEditor will downgrade to plain HTML <textarea> element.
(array) Event listeners for this editor instance (optional).
Example usage:
This little function provides a basic JSON support.
\private
Replaces a <textarea> with a %CKEditor instance.
(array) Event listeners for this editor instance (optional).
Example 1: adding %CKEditor to <textarea name="article"></textarea> element:
Replace all <textarea> elements available in the document with editor instances.
(string) If set, replace all textareas with class className in the page.
Example 1: replace all <textarea> elements in the page.