/** * Get attributes * * @return array */ protected function getAttributes() { $list = parent::getAttributes(); $list['type'] = 'submit'; return $list; }
/** * Get attributes * * @return array */ protected function getAttributes() { $list = parent::getAttributes(); return array_merge($list, $this->getLinkAttributes()); }
/** * Get attributes * * @return array */ protected function getAttributes() { $list = parent::getAttributes(); $list['onclick'] = 'javascript: ' . $this->getJSCode(); return $list; }