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 | /** |
||
52 | * Size. |
||
53 | * |
||
54 | * @var string |
||
55 | */ |
||
56 | private $size; |
||
57 | |||
58 | /** |
||
59 | * Title. |
||
60 | * |
||
61 | * @var string |
||
62 | */ |
||
63 | private $title; |
||
64 | |||
65 | /** |
||
66 | * Type. |
||
67 | * |
||
68 | * @var string |
||
69 | */ |
||
70 | private $type; |
||
71 | |||
72 | /** |
||
73 | * Constructor. |
||
74 | * |
||
75 | * @param string type. |
||
76 | */ |
||
77 | protected function __construct($type) { |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function getActive() { |
||
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | public function getBlock() { |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function getContent() { |
||
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | public function getDisabled() { |
||
108 | |||
109 | /** |
||
110 | * {@inheritdoc} |
||
111 | */ |
||
112 | public function getPrefix() { |
||
115 | |||
116 | /** |
||
117 | * {@inheritdoc} |
||
118 | */ |
||
119 | public function getSize() { |
||
122 | |||
123 | /** |
||
124 | * {@inheritdoc} |
||
125 | */ |
||
126 | public function getTitle() { |
||
129 | |||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | public function getType() { |
||
136 | |||
137 | /** |
||
138 | * {@inheritdoc} |
||
139 | */ |
||
140 | public function setActive($active) { |
||
144 | |||
145 | /** |
||
146 | * {@inheritdoc} |
||
147 | */ |
||
148 | public function setBlock($block) { |
||
152 | |||
153 | /** |
||
154 | * {@inheritdoc} |
||
155 | */ |
||
156 | public function setContent($content) { |
||
160 | |||
161 | /** |
||
162 | * {@inheritdoc} |
||
163 | */ |
||
164 | public function setDisabled($disabled) { |
||
168 | |||
169 | /** |
||
170 | * {@inheritdoc} |
||
171 | */ |
||
172 | public function setSize($size) { |
||
176 | |||
177 | /** |
||
178 | * {@inheritdoc} |
||
179 | */ |
||
180 | public function setTitle($title) { |
||
184 | |||
185 | /** |
||
186 | * {@inheritdoc} |
||
187 | */ |
||
188 | public function setType($type) { |
||
192 | } |
||
193 |