1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* MIT License |
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
6
|
|
|
*/ |
7
|
|
|
|
8
|
|
|
namespace SprykerEco\Yves\FactFinderWebComponents; |
9
|
|
|
|
10
|
|
|
use Spryker\Yves\Kernel\AbstractBundleConfig; |
11
|
|
|
use SprykerEco\Shared\FactFinderWebComponents\FactFinderWebComponentsConstants; |
12
|
|
|
|
13
|
|
|
class FactFinderWebComponentsConfig extends AbstractBundleConfig |
14
|
|
|
{ |
15
|
|
|
/** |
16
|
|
|
* Return communcation config. |
17
|
|
|
* |
18
|
|
|
* @return array |
19
|
|
|
*/ |
20
|
|
|
public function getCommunicationConfig(): array |
21
|
|
|
{ |
22
|
|
|
return $this->get(FactFinderWebComponentsConstants::COMMUNICATION_WIDGET_CONFIG); |
23
|
|
|
} |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* Return search box config. |
27
|
|
|
* |
28
|
|
|
* @return array |
29
|
|
|
*/ |
30
|
|
|
public function getSearchBoxConfig(): array |
31
|
|
|
{ |
32
|
|
|
return $this->get(FactFinderWebComponentsConstants::SEARCH_BOX_WIDGET_CONFIG); |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* Return search box config. |
37
|
|
|
* |
38
|
|
|
* @return array |
39
|
|
|
*/ |
40
|
|
|
public function getBreadcrumbConfig(): array |
41
|
|
|
{ |
42
|
|
|
return $this->get(FactFinderWebComponentsConstants::BREADCRUMB_WIDGET_CONFIG); |
43
|
|
|
} |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* Return search button config. |
47
|
|
|
* |
48
|
|
|
* @return array |
49
|
|
|
*/ |
50
|
|
|
public function getSearchButtonConfig(): array |
51
|
|
|
{ |
52
|
|
|
return $this->get(FactFinderWebComponentsConstants::SEARCH_BUTTON_WIDGET_CONFIG); |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* Return record list config. |
57
|
|
|
* |
58
|
|
|
* @return array |
59
|
|
|
*/ |
60
|
|
|
public function getRecordListConfig(): array |
61
|
|
|
{ |
62
|
|
|
return $this->get(FactFinderWebComponentsConstants::RECORD_LIST_WIDGET_CONFIG); |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* Return record list config. |
67
|
|
|
* |
68
|
|
|
* @return array |
69
|
|
|
*/ |
70
|
|
|
public function getCheckoutTrackingConfig(): array |
71
|
|
|
{ |
72
|
|
|
return $this->get(FactFinderWebComponentsConstants::CHECKOUT_TRACKING_CONFIG); |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* Return record config. |
77
|
|
|
* |
78
|
|
|
* @return array |
79
|
|
|
*/ |
80
|
|
|
public function getRecordConfig(): array |
81
|
|
|
{ |
82
|
|
|
return $this->get(FactFinderWebComponentsConstants::RECORD_WIDGET_CONFIG); |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* Return record config. |
87
|
|
|
* |
88
|
|
|
* @return array |
89
|
|
|
*/ |
90
|
|
|
public function getSuggestConfig(): array |
91
|
|
|
{ |
92
|
|
|
return $this->get(FactFinderWebComponentsConstants::SUGGEST_CONFIG); |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
/** |
96
|
|
|
* Return ASN group widget config. |
97
|
|
|
* |
98
|
|
|
* @return array |
99
|
|
|
*/ |
100
|
|
|
public function getAsnGroupWidgetConfig(): array |
101
|
|
|
{ |
102
|
|
|
return $this->get(FactFinderWebComponentsConstants::ASN_GROUP_WIDGET_CONFIG); |
103
|
|
|
} |
104
|
|
|
|
105
|
|
|
/** |
106
|
|
|
* Return ASN group element config. |
107
|
|
|
* |
108
|
|
|
* @return array |
109
|
|
|
*/ |
110
|
|
|
public function getAsnGroupElementConfig(): array |
111
|
|
|
{ |
112
|
|
|
return $this->get(FactFinderWebComponentsConstants::ASN_GROUP_ELEMENT_CONFIG); |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* Return ASN remove all filter config. |
117
|
|
|
* |
118
|
|
|
* @return array |
119
|
|
|
*/ |
120
|
|
|
public function getAsnRemoveAllFilterConfig(): array |
121
|
|
|
{ |
122
|
|
|
return $this->get(FactFinderWebComponentsConstants::ASN_REMOVE_ALL_FILTER_CONFIG); |
123
|
|
|
} |
124
|
|
|
|
125
|
|
|
/** |
126
|
|
|
* Return ASN slider config. |
127
|
|
|
* |
128
|
|
|
* @return array |
129
|
|
|
*/ |
130
|
|
|
public function getAsnSliderConfig(): array |
131
|
|
|
{ |
132
|
|
|
return $this->get(FactFinderWebComponentsConstants::ASN_SLIDER_CONFIG); |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* Return ASN slider control config. |
137
|
|
|
* |
138
|
|
|
* @return array |
139
|
|
|
*/ |
140
|
|
|
public function getAsnSliderControlConfig(): array |
141
|
|
|
{ |
142
|
|
|
return $this->get(FactFinderWebComponentsConstants::RECORD_WIDGET_CONFIG); |
143
|
|
|
} |
144
|
|
|
|
145
|
|
|
/** |
146
|
|
|
* Return record config. |
147
|
|
|
* |
148
|
|
|
* @return array |
149
|
|
|
*/ |
150
|
|
|
public function getPagingWidgetConfig(): array |
151
|
|
|
{ |
152
|
|
|
return $this->get(FactFinderWebComponentsConstants::PAGING_WIDGET_CONFIG); |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* Return products per page config. |
157
|
|
|
* |
158
|
|
|
* @return array |
159
|
|
|
*/ |
160
|
|
|
public function getProductsPerPageWidgetConfig(): array |
161
|
|
|
{ |
162
|
|
|
return $this->get(FactFinderWebComponentsConstants::PRODUCTS_PER_PAGE_WIDGET_CONFIG); |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* Return sort box config. |
167
|
|
|
* |
168
|
|
|
* @return array |
169
|
|
|
*/ |
170
|
|
|
public function getSortBoxWidgetConfig(): array |
171
|
|
|
{ |
172
|
|
|
return $this->get(FactFinderWebComponentsConstants::SORT_BOX_WIDGET_CONFIG); |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* Return similar products config. |
177
|
|
|
* |
178
|
|
|
* @return array |
179
|
|
|
*/ |
180
|
|
|
public function getSimilarProductsConfig(): array |
181
|
|
|
{ |
182
|
|
|
return $this->get(FactFinderWebComponentsConstants::SIMILAR_PRODUCTS_WIDGET_CONFIG); |
183
|
|
|
} |
184
|
|
|
|
185
|
|
|
/** |
186
|
|
|
* Return similar product ID config. |
187
|
|
|
* |
188
|
|
|
* @return array |
189
|
|
|
*/ |
190
|
|
|
public function getSimilarProductIdConfig(): array |
191
|
|
|
{ |
192
|
|
|
return $this->get(FactFinderWebComponentsConstants::SIMILAR_PRODUCT_ID_CONFIG); |
193
|
|
|
} |
194
|
|
|
|
195
|
|
|
/** |
196
|
|
|
* Return recommendation config. |
197
|
|
|
* |
198
|
|
|
* @return array |
199
|
|
|
*/ |
200
|
|
|
public function getRecommendationConfig(): array |
201
|
|
|
{ |
202
|
|
|
return $this->get(FactFinderWebComponentsConstants::RECOMMENDATION_CONFIG); |
203
|
|
|
} |
204
|
|
|
|
205
|
|
|
/** |
206
|
|
|
* Return recommendation record ID config. |
207
|
|
|
* |
208
|
|
|
* @return array |
209
|
|
|
*/ |
210
|
|
|
public function getRecommendationRecordIdConfig(): array |
211
|
|
|
{ |
212
|
|
|
return $this->get(FactFinderWebComponentsConstants::RECOMMENDATION_RECORD_ID_CONFIG); |
213
|
|
|
} |
214
|
|
|
|
215
|
|
|
/** |
216
|
|
|
* Return recommendation record ID config. |
217
|
|
|
* |
218
|
|
|
* @return array |
219
|
|
|
*/ |
220
|
|
|
public function getHeaderNavigationWidgetConfig(): array |
221
|
|
|
{ |
222
|
|
|
return $this->get(FactFinderWebComponentsConstants::HEADER_NAVIGATION_WIDGET_CONFIG); |
223
|
|
|
} |
224
|
|
|
|
225
|
|
|
/** |
226
|
|
|
* Return tag cloud config. |
227
|
|
|
* |
228
|
|
|
* @return array |
229
|
|
|
*/ |
230
|
|
|
public function getTagCloudWidgetConfig(): array |
231
|
|
|
{ |
232
|
|
|
return $this->get(FactFinderWebComponentsConstants::TAG_CLOUD_WIDGET_CONFIG); |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* Return pushed products config. |
237
|
|
|
* |
238
|
|
|
* @return array |
239
|
|
|
*/ |
240
|
|
|
public function getPushedProductsWidgetConfig(): array |
241
|
|
|
{ |
242
|
|
|
return $this->get(FactFinderWebComponentsConstants::PUSHED_PRODUCTS_WIDGET_CONFIG); |
243
|
|
|
} |
244
|
|
|
|
245
|
|
|
/** |
246
|
|
|
* Return campaign config. |
247
|
|
|
* |
248
|
|
|
* @return array |
249
|
|
|
*/ |
250
|
|
|
public function getCampaignWidgetConfig(): array |
251
|
|
|
{ |
252
|
|
|
return $this->get(FactFinderWebComponentsConstants::CAMPAIGN_WIDGET_CONFIG); |
253
|
|
|
} |
254
|
|
|
} |
255
|
|
|
|