JQuery/Form/Element/UiWidget.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_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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertypublicarray $jQueryParams = array()
jQuery related parameters of this form element.
Default valuearray()Details
Type
array
>VPropertypublicarray $options = array()
Just here to prevent errors.
Default valuearray()Details
Type
array

Methods

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

Constructor

Parameters
NameTypeDescription
$specmixed
$optionsmixed
methodpublicgetDecorators() : array

Retrieve all decorators

Returns
TypeDescription
array
Throws
ExceptionDescription
\ZendX_JQuery_Form_Exception
methodpublicgetJQueryParam(string $key) : string

Get jQuery related parameter of this form element

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
string
methodpublicgetJQueryParams() : array

Get all currently known jQuery related parameters of this element

Returns
TypeDescription
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
NameTypeDescription
$keystring
$valuestring
Returns
TypeDescription
\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
NameTypeDescription
$paramsArray
Returns
TypeDescription
\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
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\ZendX_JQuery_Form_Element_UiWidget
Documentation was generated by phpDocumentor 2.2.0 .