public function __construct(array $options = array())
 {
     parent::__construct();
     if (isset($options['value'])) {
         $this->setValue($options['value']);
         unset($options['value']);
     }
     $this->setAttribute('type', 'reset');
     $this->setAttribute('class', 'btn btn-default');
     $this->setAttributes(array_merge($this->attributes(), $options));
     $this->setValue("Reset");
 }
 public function __construct(array $options = array())
 {
     parent::__construct();
     if (isset($options['value'])) {
         $this->setValue($options['value']);
         unset($options['value']);
     }
     if (isset($options['label'])) {
         $this->setLabel($options['label']);
         unset($options['label']);
     }
     $this->setAttribute('type', 'checkbox');
     $this->setAttribute('value', "");
     $this->setAttributes(array_merge($this->attributes(), $options));
 }