Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Base Form Element for jQuery View Helpers

array
$jQueryParams= 'array()'
jQuery related parameters of this form element.
array()Details
__construct(
mixed $spec, mixed $options
=
null
)
:
voidConstructor
| Name | Type | Description |
|---|---|---|
| $spec | mixed | |
| $options | mixed |

getJQueryParam(
string $key
)
:
stringGet jQuery related parameter of this form element
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| string |

getJQueryParams(
)
:
arrayGet all currently known jQuery related parameters of this element
| Type | Description |
|---|---|
| array |

setJQueryParam(
string $key, string $value
)
:
\ZendX_JQuery_Form_Element_UiWidgetSet a jQuery related parameter of this form element.
| Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | string |
| Type | Description |
|---|---|
| \ZendX_JQuery_Form_Element_UiWidget |

setJQueryParams(
Array $params
)
:
\ZendX_JQuery_Form_Element_UiWidgetSet an array of jQuery related options for this element (merging with old options).
| Name | Type | Description |
|---|---|---|
| $params | Array |
| Type | Description |
|---|---|
| \ZendX_JQuery_Form_Element_UiWidget |

setView(
\Zend_View_Interface $view
=
null
)
:
\ZendX_JQuery_Form_Element_UiWidgetSet the view object
Ensures that the view object has the jQuery view helper path set.
| Name | Type | Description |
|---|---|---|
| $view | \Zend_View_Interface |
| Type | Description |
|---|---|
| \ZendX_JQuery_Form_Element_UiWidget |