JQuery/View/Helper/DatePicker.php
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_View_Helper_DatePicker
Package: ZendX_JQuery\View

jQuery Date Picker View Helper
- Parent(s)
- \ZendX_JQuery_View_Helper_UiWidget < \Zend_View_Helper_HtmlElement
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Methods


datePicker(string $id, string $value = null, array $params = array(), array $attribs = array()) : string
Create a jQuery UI Widget Date Picker
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$id | string | |
$value | string | |
$params | array | jQuery Widget Parameters |
$attribs | array | HTML Element Attributes |
Type | Description |
---|---|
string |


resolveZendLocaleToDatePickerFormat(string $format = null) : string
static
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.
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$format | string |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\ZendX_JQuery_Exception |