JQuery/View/Helper/DatePicker.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_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

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

Create a jQuery UI Widget Date Picker

Parameters
NameTypeDescription
$idstring
$valuestring
$paramsarray

jQuery Widget Parameters

$attribsarray

HTML Element Attributes

Returns
TypeDescription
string
Details
Link
http://docs.jquery.com/UI/Datepicker  
methodpublicresolveZendLocaleToDatePickerFormat(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
NameTypeDescription
$formatstring
Returns
TypeDescription
string
Throws
ExceptionDescription
\ZendX_JQuery_Exception
Documentation was generated by phpDocumentor 2.2.0 .