JQuery/Form/Decorator/UiWidgetElement.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_Decorator_UiWidgetElement
Package: ZendX_JQuery\Form



Abstract Form Decorator for all jQuery UI Form Elements
- Implements
- Parent(s)
- \Zend_Form_Decorator_ViewHelper
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


getJQueryParam(string $key) : mixed | null
Retrieve a single jQuery option parameter
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed | null |


render(string $content) : string
Render an jQuery UI Widget element using its associated view helper
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$content | string |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Form_Decorator_Exception | if element or view are not registered |


setJQueryParam(string $key, mixed $value) : \ZendX_JQuery_Form_Decorator_UiWidgetElement
Set a single jQuery option parameter
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Type | Description |
---|---|
\ZendX_JQuery_Form_Decorator_UiWidgetElement |


setJQueryParams(array $params) : \ZendX_JQuery_Form_Decorator_UiWidgetElement
Set jQuery option parameters
Parameters
Returns
Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
\ZendX_JQuery_Form_Decorator_UiWidgetElement |