[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Source view] [Print] [Project Stats]
\brief CKEditor class that can be used to create editor instances in PHP pages on server side.
File Size: | 1116 lines (31 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CKEditor:: (28 methods):
__construct()
editor()
replace()
replaceAll()
addEventHandler()
clearEventHandlers()
addGlobalEventHandler()
clearGlobalEventHandlers()
script()
configSettings()
returnGlobalEvents()
init()
ckeditorPath()
jsEncode()
CKEditor()
editor()
replace()
replaceAll()
addEventHandler()
clearEventHandlers()
addGlobalEventHandler()
clearGlobalEventHandlers()
script()
configSettings()
returnGlobalEvents()
init()
ckeditorPath()
jsEncode()
CKEditor:: (28 methods):
__construct()
editor()
replace()
replaceAll()
addEventHandler()
clearEventHandlers()
addGlobalEventHandler()
clearGlobalEventHandlers()
script()
configSettings()
returnGlobalEvents()
init()
ckeditorPath()
jsEncode()
CKEditor()
editor()
replace()
replaceAll()
addEventHandler()
clearEventHandlers()
addGlobalEventHandler()
clearGlobalEventHandlers()
script()
configSettings()
returnGlobalEvents()
init()
ckeditorPath()
jsEncode()
__construct($basePath = null) X-Ref |
Main Constructor. param: $basePath (string) URL to the %CKEditor installation directory (optional). |
editor($name, $value = "", $config = array() X-Ref |
Creates a %CKEditor instance. In incompatible browsers %CKEditor will downgrade to plain HTML <textarea> element. param: $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). param: $value (string) Initial value (optional). param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replace($id, $config = array() X-Ref |
Replaces a <textarea> with a %CKEditor instance. param: $id (string) The id or name of textarea element. param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replaceAll($className = null) X-Ref |
Replace all <textarea> elements available in the document with editor instances. param: $className (string) If set, replace all textareas with class className in the page. |
addEventHandler($event, $javascriptCode) X-Ref |
Adds event listener. Events are fired by %CKEditor in various situations. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearEventHandlers($event = null) X-Ref |
Clear registered event handlers. Note: this function will have no effect on already created editor instances. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
addGlobalEventHandler($event, $javascriptCode) X-Ref |
Adds global event listener. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearGlobalEventHandlers($event = null) X-Ref |
Clear registered global event handlers. Note: this function will have no effect if the event handler has been already printed/returned. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
script($js) X-Ref |
Prints javascript code. param: string $js |
configSettings($config = array() X-Ref |
Returns the configuration array (global and instance specific settings are merged into one array). param: $config (array) The specific configurations to apply to editor instance. param: $events (array) Event listeners for editor instance. |
returnGlobalEvents() X-Ref |
Return global event handlers. |
init() X-Ref |
Initializes CKEditor (executed only once). |
ckeditorPath() X-Ref |
Return path to ckeditor.js. |
jsEncode($val) X-Ref |
This little function provides a basic JSON support. param: mixed $val return: string |
CKEditor($basePath = null) X-Ref |
Main Constructor. param: $basePath (string) URL to the %CKEditor installation directory (optional). |
editor($name, $value = "", $config = array() X-Ref |
Creates a %CKEditor instance. In incompatible browsers %CKEditor will downgrade to plain HTML <textarea> element. param: $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). param: $value (string) Initial value (optional). param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replace($id, $config = array() X-Ref |
Replaces a <textarea> with a %CKEditor instance. param: $id (string) The id or name of textarea element. param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replaceAll($className = null) X-Ref |
Replace all <textarea> elements available in the document with editor instances. param: $className (string) If set, replace all textareas with class className in the page. |
addEventHandler($event, $javascriptCode) X-Ref |
Adds event listener. Events are fired by %CKEditor in various situations. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearEventHandlers($event = null) X-Ref |
Clear registered event handlers. Note: this function will have no effect on already created editor instances. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
addGlobalEventHandler($event, $javascriptCode) X-Ref |
Adds global event listener. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearGlobalEventHandlers($event = null) X-Ref |
Clear registered global event handlers. Note: this function will have no effect if the event handler has been already printed/returned. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
script($js) X-Ref |
Prints javascript code. \private param: string $js |
configSettings($config = array() X-Ref |
Returns the configuration array (global and instance specific settings are merged into one array). \private param: $config (array) The specific configurations to apply to editor instance. param: $events (array) Event listeners for editor instance. |
returnGlobalEvents() X-Ref |
Return global event handlers. \private |
init() X-Ref |
Initializes CKEditor (executed only once). \private |
ckeditorPath() X-Ref |
Return path to ckeditor.js. \private |
jsEncode($val) X-Ref |
This little function provides a basic JSON support. \private param: mixed $val return: string |
__construct($basePath = null) X-Ref |
Main Constructor. param: $basePath (string) URL to the %CKEditor installation directory (optional). |
editor($name, $value = "", $config = array() X-Ref |
Creates a %CKEditor instance. In incompatible browsers %CKEditor will downgrade to plain HTML <textarea> element. param: $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). param: $value (string) Initial value (optional). param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replace($id, $config = array() X-Ref |
Replaces a <textarea> with a %CKEditor instance. param: $id (string) The id or name of textarea element. param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replaceAll($className = null) X-Ref |
Replace all <textarea> elements available in the document with editor instances. param: $className (string) If set, replace all textareas with class className in the page. |
addEventHandler($event, $javascriptCode) X-Ref |
Adds event listener. Events are fired by %CKEditor in various situations. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearEventHandlers($event = null) X-Ref |
Clear registered event handlers. Note: this function will have no effect on already created editor instances. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
addGlobalEventHandler($event, $javascriptCode) X-Ref |
Adds global event listener. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearGlobalEventHandlers($event = null) X-Ref |
Clear registered global event handlers. Note: this function will have no effect if the event handler has been already printed/returned. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
script($js) X-Ref |
Prints javascript code. param: string $js |
configSettings($config = array() X-Ref |
Returns the configuration array (global and instance specific settings are merged into one array). param: $config (array) The specific configurations to apply to editor instance. param: $events (array) Event listeners for editor instance. |
returnGlobalEvents() X-Ref |
Return global event handlers. |
init() X-Ref |
Initializes CKEditor (executed only once). |
ckeditorPath() X-Ref |
Return path to ckeditor.js. |
jsEncode($val) X-Ref |
This little function provides a basic JSON support. param: mixed $val return: string |
CKEditor($basePath = null) X-Ref |
Main Constructor. param: $basePath (string) URL to the %CKEditor installation directory (optional). |
editor($name, $value = "", $config = array() X-Ref |
Creates a %CKEditor instance. In incompatible browsers %CKEditor will downgrade to plain HTML <textarea> element. param: $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). param: $value (string) Initial value (optional). param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replace($id, $config = array() X-Ref |
Replaces a <textarea> with a %CKEditor instance. param: $id (string) The id or name of textarea element. param: $config (array) The specific configurations to apply to this editor instance (optional). param: $events (array) Event listeners for this editor instance (optional). |
replaceAll($className = null) X-Ref |
Replace all <textarea> elements available in the document with editor instances. param: $className (string) If set, replace all textareas with class className in the page. |
addEventHandler($event, $javascriptCode) X-Ref |
Adds event listener. Events are fired by %CKEditor in various situations. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearEventHandlers($event = null) X-Ref |
Clear registered event handlers. Note: this function will have no effect on already created editor instances. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
addGlobalEventHandler($event, $javascriptCode) X-Ref |
Adds global event listener. param: $event (string) Event name. param: $javascriptCode (string) Javascript anonymous function or function name. |
clearGlobalEventHandlers($event = null) X-Ref |
Clear registered global event handlers. Note: this function will have no effect if the event handler has been already printed/returned. param: $event (string) Event name, if not set all event handlers will be removed (optional). |
script($js) X-Ref |
Prints javascript code. \private param: string $js |
configSettings($config = array() X-Ref |
Returns the configuration array (global and instance specific settings are merged into one array). \private param: $config (array) The specific configurations to apply to editor instance. param: $events (array) Event listeners for editor instance. |
returnGlobalEvents() X-Ref |
Return global event handlers. \private |
init() X-Ref |
Initializes CKEditor (executed only once). \private |
ckeditorPath() X-Ref |
Return path to ckeditor.js. \private |
jsEncode($val) X-Ref |
This little function provides a basic JSON support. \private param: mixed $val return: string |
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |