API Documentation

ZendX/JQuery/Form/Element/UiWidget.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: UiWidget.php 20165 2010-01-09 18:57:56Z bkarwin $  

\ZendX_JQuery_Form_Element_UiWidget

Package: ZendX\JQuery\Form

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-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertypublicarray  $jQueryParams= 'array()'

jQuery related parameters of this form element.

Default valuearray()Details
Type
array
Propertypublicarray  $options= 'array()'

Just here to prevent errors.

Default valuearray()Details
Type
array

Methods

methodpublic__construct( mixed $spec, mixed $options = null ) : void

Constructor

Parameters
Name Type Description
$spec mixed
$options mixed
methodpublicgetDecorators( ) : array

Retrieve all decorators

Returns
Type Description
array
Throws
Exception Description
\ZendX_JQuery_Form_Exception
methodpublicgetJQueryParam( string $key ) : string

Get jQuery related parameter of this form element

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

Get all currently known jQuery related parameters of this element

Returns
Type Description
array
methodpublicloadDefaultDecorators( ) : void

Load default decorators

methodpublicsetJQueryParam( string $key, string $value ) : \ZendX_JQuery_Form_Element_UiWidget

Set a jQuery related parameter of this form element.

Parameters
Name Type Description
$key string
$value string
Returns
Type Description
\ZendX_JQuery_Form_Element_UiWidget
methodpublicsetJQueryParams( Array $params ) : \ZendX_JQuery_Form_Element_UiWidget

Set an array of jQuery related options for this element (merging with old options).

Parameters
Name Type Description
$params Array
Returns
Type Description
\ZendX_JQuery_Form_Element_UiWidget
methodpublicsetView( \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.

Parameters
Name Type Description
$view \Zend_View_Interface
Returns
Type Description
\ZendX_JQuery_Form_Element_UiWidget
Documentation was generated by DocBlox 0.15.1.