1 | <?php |
||
21 | abstract class AbstractButton implements ButtonInterface { |
||
22 | |||
23 | /** |
||
24 | * Active |
||
25 | * |
||
26 | * @var bool |
||
27 | */ |
||
28 | private $active; |
||
29 | |||
30 | /** |
||
31 | * Block. |
||
32 | * |
||
33 | * @var bool |
||
34 | */ |
||
35 | private $block; |
||
36 | |||
37 | /** |
||
38 | * Content. |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | private $content; |
||
43 | |||
44 | /** |
||
45 | * Disabled. |
||
46 | * |
||
47 | * @var bool |
||
48 | */ |
||
49 | private $disabled; |
||
50 | /** |
||
51 | * Outline. |
||
52 | * |
||
53 | * @var bool |
||
54 | */ |
||
55 | private $outline; |
||
56 | |||
57 | /** |
||
58 | * Size. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | private $size; |
||
63 | |||
64 | /** |
||
65 | * Title. |
||
66 | * |
||
67 | * @var string |
||
68 | */ |
||
69 | private $title; |
||
70 | |||
71 | /** |
||
72 | * Type. |
||
73 | * |
||
74 | * @var string |
||
75 | */ |
||
76 | private $type; |
||
77 | |||
78 | /** |
||
79 | * Constructor. |
||
80 | * |
||
81 | * @param string type. |
||
82 | */ |
||
83 | protected function __construct($type) { |
||
86 | |||
87 | /** |
||
88 | * {@inheritDoc} |
||
89 | */ |
||
90 | public function getActive() { |
||
93 | |||
94 | /** |
||
95 | * {@inheritDoc} |
||
96 | */ |
||
97 | public function getBlock() { |
||
100 | /** |
||
101 | * {@inheritDoc} |
||
102 | */ |
||
103 | public function getOutline() { |
||
106 | |||
107 | /** |
||
108 | * {@inheritDoc} |
||
109 | */ |
||
110 | public function getContent() { |
||
113 | |||
114 | /** |
||
115 | * {@inheritDoc} |
||
116 | */ |
||
117 | public function getDisabled() { |
||
120 | |||
121 | /** |
||
122 | * {@inheritDoc} |
||
123 | */ |
||
124 | public function getPrefix() { |
||
127 | |||
128 | /** |
||
129 | * {@inheritDoc} |
||
130 | */ |
||
131 | public function getSize() { |
||
134 | |||
135 | /** |
||
136 | * {@inheritDoc} |
||
137 | */ |
||
138 | public function getTitle() { |
||
141 | |||
142 | /** |
||
143 | * {@inheritDoc} |
||
144 | */ |
||
145 | public function getType() { |
||
148 | |||
149 | /** |
||
150 | * {@inheritDoc} |
||
151 | */ |
||
152 | public function setActive($active) { |
||
156 | |||
157 | /** |
||
158 | * {@inheritDoc} |
||
159 | */ |
||
160 | public function setBlock($block) { |
||
164 | /** |
||
165 | * {@inheritDoc} |
||
166 | */ |
||
167 | public function setOutline($outline) { |
||
171 | |||
172 | /** |
||
173 | * {@inheritDoc} |
||
174 | */ |
||
175 | public function setContent($content) { |
||
179 | |||
180 | /** |
||
181 | * {@inheritDoc} |
||
182 | */ |
||
183 | public function setDisabled($disabled) { |
||
187 | |||
188 | /** |
||
189 | * {@inheritDoc} |
||
190 | */ |
||
191 | public function setSize($size) { |
||
195 | |||
196 | /** |
||
197 | * {@inheritDoc} |
||
198 | */ |
||
199 | public function setTitle($title) { |
||
203 | |||
204 | /** |
||
205 | * {@inheritDoc} |
||
206 | */ |
||
207 | public function setType($type) { |
||
211 | } |
||
212 |