PHP Class TbRedactorJS

Author: : antonio ramirez ([email protected])
Inheritance: extends CInputWidget
Mostra file Open project: yinhe/yincart

Public Properties

Property Type Description
$editorOptions {@link http://imperavi.com/redactor/docs/ redactor options}.
$height Editor height
$selector Selector pointing to textarea to initialize redactor for. Defaults to null meaning that textarea does not exist yet and will be rendered by this widget.
$width Editor width

Public Methods

Method Description
init ( )
registerClientScript ( ) Register required script files

Method Details

init() public method

public init ( )

registerClientScript() public method

Register required script files

Property Details

$editorOptions public_oe property

{@link http://imperavi.com/redactor/docs/ redactor options}.
public $editorOptions

$height public_oe property

Editor height
public $height

$selector public_oe property

Selector pointing to textarea to initialize redactor for. Defaults to null meaning that textarea does not exist yet and will be rendered by this widget.
public $selector

$width public_oe property

Editor width
public $width