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-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
ZendX_JQuery  
Subpackage
View  
Version
$Id: DatePicker.php 21867 2010-04-16 07:45:34Z beberlei $  

\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-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\global\Zend_View_Helper_FormText  

Properties

>VPropertyprotected\ZendX_JQuery_View_Helper_JQuery_Container $jquery
inherited
Contains reference to the jQuery view helper
Inherited from: \ZendX_JQuery_View_Helper_UiWidget::$$jquery

Methods

methodprotected_prepareAttributes(String $id, String $value, Array $attribs) : Array
inherited

Helps with building the correct Attributes Array structure.

Inherited from: \ZendX_JQuery_View_Helper_UiWidget::_prepareAttributes()
Parameters
NameTypeDescription
$idString
$valueString
$attribsArray
Returns
TypeDescription
Array$attribs
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( $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
$format
Returns
TypeDescription
string
methodpublicsetView(\Zend_View_Interface $view) : \ZendX_JQuery_View_Helper_Widget
inherited

Set view and enable jQuery Core and UI libraries

Inherited from: \ZendX_JQuery_View_Helper_UiWidget::setView()
Parameters
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\ZendX_JQuery_View_Helper_Widget
Documentation was generated by phpDocumentor 2.0.0a12.