API Documentation

ZendX/JQuery/Form/Decorator/UiWidgetElement.php

Includes |Classes |

Properties

Description

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.


Includes

Zend/Form/Decorator/ViewHelper.php (Require Once)
ZendX/JQuery/Form/Decorator/UiWidgetElementMarker.php (Require Once)

Classes

ZendX_JQuery_Form_Decorator_UiWidgetElement

Properties

 
ZendX_JQuery_Form_Decorator_UiWidgetElementMarker
 
Form  
No 
No 

Description

Abstract Form Decorator for all jQuery UI Form Elements

Methods

getElementAttribs, getJQueryParam, getJQueryParams, render, setJQueryParam, setJQueryParams,

getElementAttribs( ) : array

Description

Get element attributes

Return value

Type Description
array

getJQueryParam( string   $key, ) : mixed|null

Description

Retrieve a single jQuery option parameter

Arguments

Name Type Description Default
$key string |

Return value

Type Description
mixed|null

getJQueryParams( ) : array

Description

Get jQuery option parameters

Return value

Type Description
array

render( string   $content, ) : string

Description

Render an jQuery UI Widget element using its associated view helper

Arguments

Name Type Description Default
$content string |

Return value

Type Description
string

Tags

Name Description
throws if element or view are not registered

setJQueryParam( string   $key, mixed   $value, ) : ZendX_JQuery_Form_Decorator_UiWidgetElement

Description

Set a single jQuery option parameter

Arguments

Name Type Description Default
$key string |
$value mixed |

Return value

Type Description
ZendX_JQuery_Form_Decorator_UiWidgetElement

setJQueryParams( array   $params, ) : ZendX_JQuery_Form_Decorator_UiWidgetElement

Description

Set jQuery option parameters

Arguments

Name Type Description Default
$params array |

Return value

Type Description
ZendX_JQuery_Form_Decorator_UiWidgetElement

Properties

$_attribs, $_jQueryParams, $helper,

  protected  $_attribs =

Element attributesarray


  protected  $_jQueryParams = array

jQuery related attributes/optionsarray


  public  $helper =

jQuery UI View HelperZendX_JQuery_View_Helper_UiWidget


Documentation was generated by DocBlox.