JQuery/Form/Decorator/UiWidgetElement.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotectedarray $_attribs
Element attributes
Details
Type
array
>VPropertyprotectedarray $_jQueryParams = array()
jQuery related attributes/options
Default valuearray()Details
Type
array
>VPropertypublic\ZendX_JQuery_View_Helper_UiWidget $helper
jQuery UI View Helper

Methods

methodpublicgetElementAttribs() : array

Get element attributes

Returns
TypeDescription
array
methodpublicgetJQueryParam(string $key) : mixed | null

Retrieve a single jQuery option parameter

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
mixed | null
methodpublicgetJQueryParams() : array

Get jQuery option parameters

Returns
TypeDescription
array
methodpublicrender(string $content) : string

Render an jQuery UI Widget element using its associated view helper

Parameters
NameTypeDescription
$contentstring
Returns
TypeDescription
string
Throws
ExceptionDescription
\Zend_Form_Decorator_Exceptionif element or view are not registered
methodpublicsetJQueryParam(string $key, mixed $value) : \ZendX_JQuery_Form_Decorator_UiWidgetElement

Set a single jQuery option parameter

Parameters
NameTypeDescription
$keystring
$valuemixed
Returns
TypeDescription
\ZendX_JQuery_Form_Decorator_UiWidgetElement
methodpublicsetJQueryParams(array $params) : \ZendX_JQuery_Form_Decorator_UiWidgetElement

Set jQuery option parameters

Parameters
NameTypeDescription
$paramsarray
Returns
TypeDescription
\ZendX_JQuery_Form_Decorator_UiWidgetElement
Documentation was generated by phpDocumentor 2.2.0 .