Esempio n. 1
0
 public function __construct(array $definition, Form $form)
 {
     $definition['choices'] = array('HTML', 'Text');
     parent::__construct($definition, $form);
 }
Esempio n. 2
0
 /**
  * @param array $definition
  * @param Form $form
  */
 public function __construct(array $definition, Form $form)
 {
     $definition['choices'] = self::$_choices;
     $definition['req'] = TRUE;
     parent::__construct($definition, $form);
 }