PHP Class TbCKEditor

Supports new CKEditor 4
Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$editorOptions the CKEditor options
$form when created via TbActiveForm This attribute is set to the form that renders the widget

Public Methods

Method Description
registerClientScript ( string $id ) ### .registerClientScript()
run ( ) ### .run()

Method Details

registerClientScript() public method

Registers required javascript
public registerClientScript ( string $id )
$id string

run() public method

Display editor
public run ( )

Property Details

$editorOptions public property

the CKEditor options
See also:
Since: 10/30/12 10:40 AM the Editor used is CKEditor 4 Beta will be updated as final version is done
public $editorOptions

$form public property

when created via TbActiveForm This attribute is set to the form that renders the widget
public $form