Public Member Functions

ZendX_JQuery_View_Helper_AutoComplete Class Reference

Inheritance diagram for ZendX_JQuery_View_Helper_AutoComplete:
ZendX_JQuery_View_Helper_UiWidget Zend_View_Helper_HtmlElement Zend_View_Helper_Abstract Zend_View_Helper_Interface

Public Member Functions

 autoComplete ($id, $value=null, array $params=array(), array $attribs=array())

Detailed Description

Definition at line 37 of file AutoComplete.php.


Member Function Documentation

autoComplete ( id,
value = null,
array $  params = array(),
array $  attribs = array() 
)

Builds an AutoComplete ready input field.

This view helper builds an input field with the Zend_View_Helper_FormText FormText Helper and adds additional javascript to the jQuery stack to initialize an AutoComplete field. Make sure you have set one out of the two following options: $params['data'] or $params['url']. The first one accepts an array as data input to the autoComplete, the second accepts an url, where the autoComplete content is returned from. For the format see jQuery documentation.

ZendX_JQuery_Exception String $id String $value array $params array $attribs String

Definition at line 57 of file AutoComplete.php.


The documentation for this class was generated from the following file: