JQuery/Form/Element/UiWidget.php
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.
- Category
- ZendX
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- ZendX_JQuery
- Subpackage
- View
- Version
- $Id$
\ZendX_JQuery_Form_Element_UiWidget
Package: ZendX_JQuery\Form







Returns
Base Form Element for jQuery View Helpers
- Parent(s)
- \Zend_Form_Element
- Children
- \ZendX_JQuery_Form_Element_Spinner
- \ZendX_JQuery_Form_Element_AutoComplete
- \ZendX_JQuery_Form_Element_DatePicker
- \ZendX_JQuery_Form_Element_Slider
- \ZendX_JQuery_Form_Element_ColorPicker
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


array $jQueryParams = array()
jQuery related parameters of this form element.
Default value
array()
Details- Type
- array
Methods


__construct(mixed $spec, mixed $options = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$spec | mixed | |
$options | mixed |


getDecorators() : array
Retrieve all decorators
Returns
Throws
Type | Description |
---|---|
array |
Exception | Description |
---|---|
\ZendX_JQuery_Form_Exception |


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


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


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


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


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