protected function defaultAttributes() { return parent::defaultAttributes() + array('action' => '', 'method' => 'POST', 'name' => ''); }
/** * @see Element::defaultAttribtues */ protected function defaultAttributes() { return array_merge(parent::defaultAttributes(), array('type' => '', 'name' => '', 'value' => '')); }