Example #1
0
 public function __construct(string $name = "")
 {
     parent::__construct($name);
     $this->addRule(new \sndsgd\form\rule\FloatRule());
 }
Example #2
0
 public function __construct(string $name, ValueField $keyField, FieldInterface $valueField)
 {
     parent::__construct($name);
     $this->keyField = $keyField->setParent($this);
     $this->valueField = $valueField->setParent($this);
 }