Public Member Functions | |
autoComplete ($id, $value=null, array $params=array(), array $attribs=array()) |
Definition at line 37 of file AutoComplete.php.
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.