API Documentation

ZendX/JQuery/View/Helper/DatePicker.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/Registry.php (Require Once)
ZendX/JQuery/View/Helper/UiWidget.php (Require Once)

Classes

ZendX_JQuery_View_Helper_DatePicker

Description

jQuery Date Picker View Helper

Methods

datePicker, resolveZendLocaleToDatePickerFormat,

datePicker( string   $id, string   $value = null, array   $params = array, array   $attribs = array, ) : string

Description

Create a jQuery UI Widget Date Picker

Arguments

Name Type Description Default
$id string |
$value string | null
$params array | jQuery Widget Parameters array
$attribs array | HTML Element Attributes array

Return value

Type Description
string

Tags

Name Description
link http://docs.jquery.com/UI/Datepicker

resolveZendLocaleToDatePickerFormat(   $format = null, ) : string

Description

A Check for Zend_Locale existance has already been done in {@link datePicker()} this function only resolves the default format from Zend Locale to a jQuery Date Picker readable format. This function can be potentially buggy because of its easy nature and is therefore stripped from the core functionality to be easily overriden.

Arguments

Name Type Description Default
$format n/a null

Return value

Type Description
string
Documentation was generated by DocBlox.