Пример #1
0
 protected function updateAttributes(Attributes $attributes)
 {
     parent::updateAttributes($attributes);
     $attributes['method'] = $this->getMethod();
     $attributes['enctype'] = $this->getEncType();
     $attributes['action'] = $this->getAction();
 }
Пример #2
0
 protected function updateAttributes(Attributes $attributes)
 {
     parent::updateAttributes($attributes);
     $attributes['value'] = $this->value;
 }