Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/82.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php ejuidatetimepicker中的唯一时间选择器_Php_Jquery_Yii - Fatal编程技术网

Php ejuidatetimepicker中的唯一时间选择器

Php ejuidatetimepicker中的唯一时间选择器,php,jquery,yii,Php,Jquery,Yii,我正在我的Yii应用程序中使用。它的日期和时间选择器。 我只想要时间选择器,我尝试了两个选项mode=>time'和timeOnly=>true。它不起作用 请找到我下面的代码 $this->widget( 'application.extensions.timepicker.EJuiDateTimePicker', array( 'model' => $model, // Your model 'attribute' => 'starttime', // At

我正在我的Yii应用程序中使用。它的日期和时间选择器。 我只想要时间选择器,我尝试了两个选项
mode=>time'
timeOnly=>true
。它不起作用

请找到我下面的代码

   $this->widget( 'application.extensions.timepicker.EJuiDateTimePicker', array(
 'model' => $model, // Your model   
 'attribute' => 'starttime', // Attribute for input
 //'mode'=>'time', //Not working Error Message is "Property "EJuiDateTimePicker.mode" is not defined. "
 //timeOnly -  Default: false - Hide the datepicker and only provide a time interface.
  'timeOnly' => true, // Not working Error Message is "Property "EJuiDateTimePicker.timeOnly" is not defined."

 'options' => array(
  'showOn'=>'focus',
  'timeFormat'=>'hh:mm:ss',         
  'showSecond'=>true,  
  //'timeOnly' => true, // Not working Error Message is "Property "EJuiDateTimePicker.timeOnly" is not defined."

  ) ,                                       
 'htmlOptions' => array(                    
  'autocomplete' => 'off',                  
  'size' => 10,                     
  'maxlength' => 10,                        
  ),                                        
 ));

我找到了选择。我们必须使用

 'timePickerOnly' => 'true',

我已签入EJuiDateTimePicker.php,找到了该选项。我们必须使用

 'timePickerOnly' => 'true',
我已签入EJuiDateTimePicker.php