| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 3 | class Nip_Form_Renderer_Button_Button extends Nip_Form_Renderer_Button_Abstract |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * @noinspection PhpMissingParentCallCommonInspection |
||
| 7 | * @inheritDoc |
||
| 8 | */ |
||
| 9 | 1 | public function generateItem() |
|
| 10 | { |
||
| 11 | 1 | return '<button ' . $this->renderAttributes() . '>' |
|
| 12 | 1 | . $this->getItem()->getLabel() |
|
| 13 | 1 | . '</button>'; |
|
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritDoc |
||
| 18 | */ |
||
| 19 | 1 | public function getAllowedAttributes() |
|
| 25 | } |
||
| 26 | } |
||
| 27 |