ehtmldataselect EHtmlDateSelect is a widget that creates date dropdowns.

  1. Documentation
  2. Change Log

This extension is a widget that creates date dropdowns. It can display any or all of year, month, and day.

Based on the Smarty function {html_select_date} http://www.smarty.net/manual/en/language.function.html.select.date.php

Documentation

Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/extensions
Usage

See the following code example:

<?php $this->widget('application.extensions.EHtmlDateSelect',
                        array(
                              'time'=>$model->dateField,
                              'field_array'=>'ItemsDate',
                              'prefix'=>'',
                              'field_order'=>'DMY',
                              'start_year'=>2010,
                              'end_year'=>2012,
                             )
                       );?>

Change Log

March 26, 2010
  • Fixed some errors
March 23, 2010
  • Initial release.
5 0
8 followers
1 651 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: Date and Time
Tags:
Developed by: kosenka
Created on: Mar 23, 2010
Last updated: 8 years ago

Downloads

show all