Beispiel #1
0
 function __construct($field, array $options = null, $name = null, Form $form = null)
 {
     parent::__construct($field, $name, $form);
     if ($options) {
         $this->setOptions($options);
     }
 }
Beispiel #2
0
 public function setOptions(array $options, $add_filter = true, $ignore_keys = null)
 {
     parent::setOptions($options, $add_filter, $ignore_keys);
     $this->setMultipleChoiceAllowed();
     return $this;
 }