コード例 #1
0
ファイル: Form.php プロジェクト: realholgi/formobject
 protected function updateAttributes(Attributes $attributes)
 {
     parent::updateAttributes($attributes);
     $attributes['method'] = $this->getMethod();
     $attributes['enctype'] = $this->getEncType();
     $attributes['action'] = $this->getAction();
 }
コード例 #2
0
ファイル: Field.php プロジェクト: aktiWeb/formobject
 protected function updateAttributes(Attributes $attributes)
 {
     parent::updateAttributes($attributes);
     $attributes['value'] = $this->value;
 }