示例#1
0
 /**
  * @param array|\Traversable $options
  * @return $this
  */
 public function setOptions($options)
 {
     $options['add-on-append'] = '<i class="fa fa-clock-o"></i>';
     parent::setOptions($options);
     return $this;
 }
示例#2
0
 /**
  * @return mixed
  */
 public function getListedValue()
 {
     $value = new \DateTime(parent::getListedValue());
     return $value->format($this->getFormat());
 }