How to make a select element for minu开发者_如何学运维tes?
$this->formSelect('','',null, $myarray_minutes);
I tried this but gets wrong minutes https://gist.github.com/668284
I personally would recommend utilizing a plane text box on the zend form side but decorate it with a jquery time selection tool.
- http://pttimeselect.sourceforge.net/example/
- http://tobiascohen.com/demos/calendrical/
If you must do it with zend you pas in the options to display with
->setMultiOptions($array);
精彩评论