Changeset View
Changeset View
Standalone View
Standalone View
core/ckeditor/ckeditor_php5.php
Show All 14 Lines | |||||
* $CKEditor->editor("editor1", "<p>Initial value.</p>"); | * $CKEditor->editor("editor1", "<p>Initial value.</p>"); | ||||
* @endcode | * @endcode | ||||
*/ | */ | ||||
class CKEditor | class CKEditor | ||||
{ | { | ||||
/** | /** | ||||
* The version of %CKEditor. | * The version of %CKEditor. | ||||
*/ | */ | ||||
const version = '3.6.3'; | const version = '4.2'; | ||||
/** | /** | ||||
* A constant string unique for each release of %CKEditor. | * A constant string unique for each release of %CKEditor. | ||||
*/ | */ | ||||
const timestamp = 'C3HA5RM'; | const timestamp = 'D6IE'; | ||||
glebs: I've used timestamp value from ckeditor.js. It defined close to version value | |||||
/** | /** | ||||
* URL to the %CKEditor installation directory (absolute or relative to document root). | * URL to the %CKEditor installation directory (absolute or relative to document root). | ||||
* If not set, CKEditor will try to guess it's path. | * If not set, CKEditor will try to guess it's path. | ||||
* | * | ||||
* Example usage: | * Example usage: | ||||
* @code | * @code | ||||
* $CKEditor->basePath = '/ckeditor/'; | * $CKEditor->basePath = '/ckeditor/'; | ||||
Show All 37 Lines | |||||
* When %CKEditor is created with the editor() method, a HTML <textarea> element is created, | * 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. | * it will be displayed to anyone with JavaScript disabled or with incompatible browser. | ||||
*/ | */ | ||||
public $textareaAttributes = array( "rows" => 8, "cols" => 60 ); | public $textareaAttributes = array( "rows" => 8, "cols" => 60 ); | ||||
/** | /** | ||||
* A string indicating the creation date of %CKEditor. | * 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. | * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor. | ||||
*/ | */ | ||||
public $timestamp = "C3HA5RM"; | public $timestamp = self::timestamp; | ||||
/** | /** | ||||
* An array that holds event listeners. | * An array that holds event listeners. | ||||
*/ | */ | ||||
private $events = array(); | private $events = array(); | ||||
/** | /** | ||||
* An array that holds global event listeners. | * An array that holds global event listeners. | ||||
*/ | */ | ||||
private $globalEvents = array(); | private $globalEvents = array(); | ||||
▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines |
I've used timestamp value from ckeditor.js. It defined close to version value