etimepicker a simple time picker widget, 24hours format output readed from controls.

  1. Screenshot
  2. Requirements
  3. Usage
Por: Christian Salazar

This is a simple widget for your form, whenever you need to get a time from your user, you can insert multiple ETimePicker widgets on the same form. It uses jQuery.

Author: Christian Salazar (bluyell), christiansalazarh@gmail.com

http://www.yiiframeworkenespanol.org/wiki

Bitbucket Repository

Screenshot

Screenshot for ETimePicker

Requirements

Yii 1.1.12 jQuery.

Usage

In your view:

echo $form->hiddenField($model,'yourtimefield');
	$this->widget('ext.etimepicker.ETimePicker',
		array('altField'=>'YourModel_yourtimefield'));  // the input ID !
	echo $form->error($model,'yourtimefield');

Your sample model:

class YourModel extends CFormModel /*or CActiveRecord !*/ {
  public $yourtimefield;  // a time field: "hh:mm" formatted (24 hours)
  ...
}
1 0
4 followers
314 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: bluyell
Created on: Dec 7, 2012
Last updated: 11 years ago

Downloads

show all