1 | <?php |
||
14 | class Submit extends Field |
||
15 | { |
||
16 | /** |
||
17 | * Extends the type |
||
18 | * @param string $id |
||
19 | * @param array $data |
||
20 | */ |
||
21 | public function __construct($id, $data = []) |
||
27 | |||
28 | /** |
||
29 | * Remove the default class |
||
30 | */ |
||
31 | protected function classes() |
||
38 | |||
39 | /** |
||
40 | * So that we can't set the width |
||
41 | */ |
||
42 | protected function applyWidth() |
||
45 | |||
46 | /** |
||
47 | * Adds some specific attributes |
||
48 | */ |
||
49 | protected function inputAttributes() |
||
55 | |||
56 | /** |
||
57 | * Adds a title |
||
58 | */ |
||
59 | protected function renderTitle() |
||
68 | |||
69 | /** |
||
70 | * Renders the field |
||
71 | */ |
||
72 | protected function renderInner() |
||
76 | } |
||
77 |