PHP Class WhRedactor

Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
显示文件 Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$debugMode Debug mode Used to publish full js file instead of min version
$pluginOptions Editor options that will be passed to the editor

Public Methods

Method Description
init ( ) Widget's init function
registerClientScript ( ) Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin in order to attach events if any
renderField ( ) Renders field
run ( ) Runs the widget.

Protected Methods

Method Description
registerPlugins ( $assetsUrl )

Method Details

init() public method

Widget's init function
public init ( )

registerClientScript() public method

Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin in order to attach events if any

registerPlugins() protected method

protected registerPlugins ( $assetsUrl )
$assetsUrl

renderField() public method

Renders field
public renderField ( )

run() public method

Runs the widget.
public run ( )

Property Details

$debugMode public_oe property

Debug mode Used to publish full js file instead of min version
public $debugMode

$pluginOptions public_oe property

Editor options that will be passed to the editor
See also: http://imperavi.com/redactor/docs/
public $pluginOptions