示例#1
0
 public function getDhInc()
 {
     $element = new ZendT_Form_Element_DateTime('dh_inc');
     $element->setLabel($this->_translate->_('arquivo.dh_inc') . ':');
     $element->setDateAttribs(array('css-width' => '87.5px', 'maxlength' => '10'));
     $element->setTimeAttribs(array('css-width' => '43.75px;', 'maxlength' => '5'));
     $element->addValidators(array());
     /*$element->renderDateTime();*/
     return $element;
 }
示例#2
0
文件: Element.php 项目: rtsantos/mais
 public function getDhRequest()
 {
     $element = new ZendT_Form_Element_DateTime('dh_request');
     $element->setLabel($this->_translate->_('maillist.dh_request') . ':');
     $element->setDateAttribs(array('css-width' => '87.5px', 'maxlength' => '10'));
     $element->setTimeAttribs(array('css-width' => '43.75px;', 'maxlength' => '5'));
     $element->addValidators(array());
     $element->renderDateTime();
     return $element;
 }
示例#3
0
 /**
  *
  * @return \ZendT_Form_Element_DateTime
  */
 public function getDhProExec()
 {
     $element = new ZendT_Form_Element_DateTime('dh_pro_exec');
     $element->setLabel($this->_translate->_('tl_job.dh_pro_exec') . ':');
     $element->setDateAttribs(array('css-width' => '87.5px', 'maxlength' => '10'));
     $element->setTimeAttribs(array('css-width' => '43.75px', 'maxlength' => '5', 'id' => ''));
     $element->addValidators(array());
     /*$element->renderDateTime();*/
     return $element;
 }