API Documentation

ZendX/JQuery/Form/Decorator/UiWidgetElement.php

Show: inherited
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-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
ZendX_JQuery  
Subpackage
View  
Version
$Id: UiWidgetElement.php 20165 2010-01-09 18:57:56Z bkarwin $  

\ZendX_JQuery_Form_Decorator_UiWidgetElement

Package: ZendX\JQuery\Form

Abstract Form Decorator for all jQuery UI Form Elements

Implements
\ZendX_JQuery_Form_Decorator_UiWidgetElementMarker
Parent(s)
\Zend_Form_Decorator_ViewHelper
Copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_attribs= ''

Element attributes

Details
Type
array
Propertyprotectedarray  $_jQueryParams= 'array()'

jQuery related attributes/options

Default valuearray()Details
Type
array
Propertypublic\ZendX_JQuery_View_Helper_UiWidget  $helper= ''

jQuery UI View Helper

Methods

methodpublicgetElementAttribs( ) : array

Get element attributes

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

Retrieve a single jQuery option parameter

Parameters
Name Type Description
$key string
Returns
Type Description
mixed|null
methodpublicgetJQueryParams( ) : array

Get jQuery option parameters

Returns
Type Description
array
methodpublicrender( string $content ) : string

Render an jQuery UI Widget element using its associated view helper

Parameters
Name Type Description
$content string
Returns
Type Description
string
Throws
Exception Description
\Zend_Form_Decorator_Exception if element or view are not registered
methodpublicsetJQueryParam( string $key, mixed $value ) : \ZendX_JQuery_Form_Decorator_UiWidgetElement

Set a single jQuery option parameter

Parameters
Name Type Description
$key string
$value mixed
Returns
Type Description
\ZendX_JQuery_Form_Decorator_UiWidgetElement
methodpublicsetJQueryParams( array $params ) : \ZendX_JQuery_Form_Decorator_UiWidgetElement

Set jQuery option parameters

Parameters
Name Type Description
$params array
Returns
Type Description
\ZendX_JQuery_Form_Decorator_UiWidgetElement
Documentation was generated by DocBlox 0.15.1.