PHP Class WhTypeAhead

See also: https://github.com/twitter/typeahead.js
Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$debugMode whether to display minified versions of the files or not
$pluginOptions the plugin options

Public Methods

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

Method Details

init() public method

Initializes the widget.
public init ( )

registerClientScript() public method

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

renderField() public method

Renders the typeahead field
public renderField ( )

run() public method

Runs the widget.
public run ( )

Property Details

$debugMode public property

whether to display minified versions of the files or not
public $debugMode

$pluginOptions public property

the plugin options
See also: https://github.com/twitter/typeahead.js
public $pluginOptions