1 <?php
2 /**
3 *
4 * WhCountries.php
5 *
6 * Date: 06/09/14
7 * Time: 14:17
8 * @author Antonio Ramirez <amigo.cobos@gmail.com>
9 * @link http://www.ramirezcobos.com/
10 * @link http://www.2amigos.us/
11 */
12 Yii::import('yiiwheels.widgets.formhelpers.WhInputWidget');
13
14 class WhTimePickerHelper extends WhInputWidget
15 {
16
17 public function init()
18 {
19 parent::init();
20 TbHtml::addCssClass('bfh-timepicker', $this->htmlOptions);
21
22 }
23
24 public function run()
25 {
26 echo CHtml::tag('div', $this->htmlOptions, '');
27
28 $this->registerPlugin('bfhtimepicker');
29 }
30 }