1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace SumoCoders\FrameworkExampleBundle\Controller; |
4
|
|
|
|
5
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
7
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
8
|
|
|
|
9
|
|
|
class BootstrapController extends Controller |
10
|
|
|
{ |
11
|
|
|
/** |
12
|
|
|
* @Route("/bootstrap/grid") |
13
|
|
|
* @Template() |
14
|
|
|
*/ |
15
|
|
|
public function gridAction() |
16
|
|
|
{ |
17
|
|
|
return array(); |
18
|
|
|
} |
19
|
|
|
|
20
|
|
|
/** |
21
|
|
|
* @Route("/bootstrap/fontawesome") |
22
|
|
|
* @Template() |
23
|
|
|
*/ |
24
|
|
|
public function fontAwesomeAction() |
25
|
|
|
{ |
26
|
|
|
return array(); |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @Route("/bootstrap/typography") |
31
|
|
|
* @Template() |
32
|
|
|
*/ |
33
|
|
|
public function typographyAction() |
34
|
|
|
{ |
35
|
|
|
return array(); |
36
|
|
|
} |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @Route("/bootstrap/code") |
40
|
|
|
* @Template() |
41
|
|
|
*/ |
42
|
|
|
public function codeAction() |
43
|
|
|
{ |
44
|
|
|
return array(); |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @Route("/bootstrap/tables") |
49
|
|
|
* @Template() |
50
|
|
|
*/ |
51
|
|
|
public function tablesAction() |
52
|
|
|
{ |
53
|
|
|
return array(); |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* @Route("/bootstrap/forms") |
58
|
|
|
* @Template() |
59
|
|
|
*/ |
60
|
|
|
public function formsAction() |
61
|
|
|
{ |
62
|
|
|
return array(); |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* @Route("/bootstrap/buttons") |
67
|
|
|
* @Template() |
68
|
|
|
*/ |
69
|
|
|
public function buttonsAction() |
70
|
|
|
{ |
71
|
|
|
return array(); |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @Route("/bootstrap/images") |
76
|
|
|
* @Template() |
77
|
|
|
*/ |
78
|
|
|
public function imagesAction() |
79
|
|
|
{ |
80
|
|
|
return array(); |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @Route("/bootstrap/helper-classes") |
85
|
|
|
* @Template() |
86
|
|
|
*/ |
87
|
|
|
public function helperClassesAction() |
88
|
|
|
{ |
89
|
|
|
return array(); |
90
|
|
|
} |
91
|
|
|
|
92
|
|
|
/** |
93
|
|
|
* @Route("/bootstrap/responsive-utilities") |
94
|
|
|
* @Template() |
95
|
|
|
*/ |
96
|
|
|
public function responsiveUtilitiesAction() |
97
|
|
|
{ |
98
|
|
|
return array(); |
99
|
|
|
} |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* @Route("/bootstrap/drop-downs") |
103
|
|
|
* @Template() |
104
|
|
|
*/ |
105
|
|
|
public function dropDownsAction() |
106
|
|
|
{ |
107
|
|
|
return array(); |
108
|
|
|
} |
109
|
|
|
|
110
|
|
|
/** |
111
|
|
|
* @Route("/bootstrap/input-groups") |
112
|
|
|
* @Template() |
113
|
|
|
*/ |
114
|
|
|
public function inputGroupsAction() |
115
|
|
|
{ |
116
|
|
|
return array(); |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @Route("/bootstrap/navs") |
121
|
|
|
* @Template() |
122
|
|
|
*/ |
123
|
|
|
public function navsAction() |
124
|
|
|
{ |
125
|
|
|
return array(); |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @Route("/bootstrap/breadcrumbs") |
130
|
|
|
* @Template() |
131
|
|
|
*/ |
132
|
|
|
public function breadcrumbsAction() |
133
|
|
|
{ |
134
|
|
|
return array(); |
135
|
|
|
} |
136
|
|
|
|
137
|
|
|
/** |
138
|
|
|
* @Route("/bootstrap/pagination") |
139
|
|
|
* @Template() |
140
|
|
|
*/ |
141
|
|
|
public function paginationAction() |
142
|
|
|
{ |
143
|
|
|
return array(); |
144
|
|
|
} |
145
|
|
|
|
146
|
|
|
/** |
147
|
|
|
* @Route("/bootstrap/labels") |
148
|
|
|
* @Template() |
149
|
|
|
*/ |
150
|
|
|
public function labelsAction() |
151
|
|
|
{ |
152
|
|
|
return array(); |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* @Route("/bootstrap/badges") |
157
|
|
|
* @Template() |
158
|
|
|
*/ |
159
|
|
|
public function badgesAction() |
160
|
|
|
{ |
161
|
|
|
return array(); |
162
|
|
|
} |
163
|
|
|
|
164
|
|
|
/** |
165
|
|
|
* @Route("/bootstrap/jumbo-tron") |
166
|
|
|
* @Template() |
167
|
|
|
*/ |
168
|
|
|
public function jumboTronAction() |
169
|
|
|
{ |
170
|
|
|
return array(); |
171
|
|
|
} |
172
|
|
|
|
173
|
|
|
/** |
174
|
|
|
* @Route("/bootstrap/page-header") |
175
|
|
|
* @Template() |
176
|
|
|
*/ |
177
|
|
|
public function pageHeaderAction() |
178
|
|
|
{ |
179
|
|
|
return array(); |
180
|
|
|
} |
181
|
|
|
|
182
|
|
|
/** |
183
|
|
|
* @Route("/bootstrap/thumbnails") |
184
|
|
|
* @Template() |
185
|
|
|
*/ |
186
|
|
|
public function thumbnailsAction() |
187
|
|
|
{ |
188
|
|
|
return array(); |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @Route("/bootstrap/alerts") |
193
|
|
|
* @Template() |
194
|
|
|
*/ |
195
|
|
|
public function alertsAction() |
196
|
|
|
{ |
197
|
|
|
return array(); |
198
|
|
|
} |
199
|
|
|
|
200
|
|
|
/** |
201
|
|
|
* @Route("/bootstrap/progress-bars") |
202
|
|
|
* @Template() |
203
|
|
|
*/ |
204
|
|
|
public function progressBarsAction() |
205
|
|
|
{ |
206
|
|
|
return array(); |
207
|
|
|
} |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @Route("/bootstrap/media-object") |
211
|
|
|
* @Template() |
212
|
|
|
*/ |
213
|
|
|
public function mediaObjectAction() |
214
|
|
|
{ |
215
|
|
|
return array(); |
216
|
|
|
} |
217
|
|
|
|
218
|
|
|
/** |
219
|
|
|
* @Route("/bootstrap/list-group") |
220
|
|
|
* @Template() |
221
|
|
|
*/ |
222
|
|
|
public function listGroupAction() |
223
|
|
|
{ |
224
|
|
|
return array(); |
225
|
|
|
} |
226
|
|
|
|
227
|
|
|
/** |
228
|
|
|
* @Route("/bootstrap/panels") |
229
|
|
|
* @Template() |
230
|
|
|
*/ |
231
|
|
|
public function panelsAction() |
232
|
|
|
{ |
233
|
|
|
return array(); |
234
|
|
|
} |
235
|
|
|
|
236
|
|
|
/** |
237
|
|
|
* @Route("/bootstrap/responsive-embed") |
238
|
|
|
* @Template() |
239
|
|
|
*/ |
240
|
|
|
public function responsiveEmbedAction() |
241
|
|
|
{ |
242
|
|
|
return array(); |
243
|
|
|
} |
244
|
|
|
|
245
|
|
|
/** |
246
|
|
|
* @Route("/bootstrap/wells") |
247
|
|
|
* @Template() |
248
|
|
|
*/ |
249
|
|
|
public function wellsAction() |
250
|
|
|
{ |
251
|
|
|
return array(); |
252
|
|
|
} |
253
|
|
|
|
254
|
|
|
/** |
255
|
|
|
* @Route("/bootstrap/modal") |
256
|
|
|
* @Template() |
257
|
|
|
*/ |
258
|
|
|
public function modalAction() |
259
|
|
|
{ |
260
|
|
|
return array(); |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* @Route("/bootstrap/tooltip") |
265
|
|
|
* @Template() |
266
|
|
|
*/ |
267
|
|
|
public function tooltipAction() |
268
|
|
|
{ |
269
|
|
|
return array(); |
270
|
|
|
} |
271
|
|
|
|
272
|
|
|
/** |
273
|
|
|
* @Route("/bootstrap/popover") |
274
|
|
|
* @Template() |
275
|
|
|
*/ |
276
|
|
|
public function popOverAction() |
277
|
|
|
{ |
278
|
|
|
return array(); |
279
|
|
|
} |
280
|
|
|
|
281
|
|
|
/** |
282
|
|
|
* @Route("/bootstrap/collapse") |
283
|
|
|
* @Template() |
284
|
|
|
*/ |
285
|
|
|
public function collapseAction() |
286
|
|
|
{ |
287
|
|
|
return array(); |
288
|
|
|
} |
289
|
|
|
|
290
|
|
|
/** |
291
|
|
|
* @Route("/bootstrap/carousel") |
292
|
|
|
* @Template() |
293
|
|
|
*/ |
294
|
|
|
public function carouselAction() |
295
|
|
|
{ |
296
|
|
|
return array(); |
297
|
|
|
} |
298
|
|
|
|
299
|
|
|
/** |
300
|
|
|
* @Route("/bootstrap/sortable") |
301
|
|
|
* @Template() |
302
|
|
|
*/ |
303
|
|
|
public function sortableAction() |
304
|
|
|
{ |
305
|
|
|
return array(); |
306
|
|
|
} |
307
|
|
|
|
308
|
|
|
/** |
309
|
|
|
* @Route("/bootstrap/autocomplete") |
310
|
|
|
* @Template() |
311
|
|
|
*/ |
312
|
|
|
public function autocompleteAction() |
313
|
|
|
{ |
314
|
|
|
return array(); |
315
|
|
|
} |
316
|
|
|
|
317
|
|
|
/** |
318
|
|
|
* @Route("/bootstrap/slider") |
319
|
|
|
* @Template() |
320
|
|
|
*/ |
321
|
|
|
public function sliderAction() |
322
|
|
|
{ |
323
|
|
|
return array(); |
324
|
|
|
} |
325
|
|
|
|
326
|
|
|
/** |
327
|
|
|
* @Route("/bootstrap/select2") |
328
|
|
|
* @Template() |
329
|
|
|
*/ |
330
|
|
|
public function select2Action() |
331
|
|
|
{ |
332
|
|
|
return array(); |
333
|
|
|
} |
334
|
|
|
|
335
|
|
|
/** |
336
|
|
|
* @Route("/bootstrap/tags-input") |
337
|
|
|
* @Template() |
338
|
|
|
*/ |
339
|
|
|
public function tagsInputAction() |
340
|
|
|
{ |
341
|
|
|
return array(); |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* @Route("/bootstrap/filter") |
346
|
|
|
* @Template() |
347
|
|
|
*/ |
348
|
|
|
public function filterAction() |
349
|
|
|
{ |
350
|
|
|
return array(); |
351
|
|
|
} |
352
|
|
|
} |
353
|
|
|
|