|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Victoire\Bundle\WidgetBundle\Entity\Traits\StyleTraits; |
|
4
|
|
|
|
|
5
|
|
|
use Victoire\Bundle\MediaBundle\Entity\Media; |
|
6
|
|
|
|
|
7
|
|
|
trait StyleXSTrait |
|
8
|
|
|
{ |
|
9
|
|
|
/** |
|
10
|
|
|
* @var string |
|
11
|
|
|
* |
|
12
|
|
|
* @ORM\Column(name="container_margin_xs", type="string", length=255, nullable=true) |
|
13
|
|
|
*/ |
|
14
|
|
|
protected $containerMarginXS; |
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* @var string |
|
18
|
|
|
* |
|
19
|
|
|
* @ORM\Column(name="container_padding_xs", type="string", length=255, nullable=true) |
|
20
|
|
|
*/ |
|
21
|
|
|
protected $containerPaddingXS; |
|
22
|
|
|
|
|
23
|
|
|
/** |
|
24
|
|
|
* @var string |
|
25
|
|
|
* |
|
26
|
|
|
* @ORM\Column(name="container_width_xs", type="string", length=255, nullable=true) |
|
27
|
|
|
*/ |
|
28
|
|
|
protected $containerWidthXS; |
|
29
|
|
|
|
|
30
|
|
|
/** |
|
31
|
|
|
* @var string |
|
32
|
|
|
* |
|
33
|
|
|
* @ORM\Column(name="container_height_xs", type="string", length=255, nullable=true) |
|
34
|
|
|
*/ |
|
35
|
|
|
protected $containerHeightXS; |
|
36
|
|
|
|
|
37
|
|
|
/** |
|
38
|
|
|
* @var string |
|
39
|
|
|
* |
|
40
|
|
|
* @ORM\Column(name="text_align_xs", type="string", length=15, nullable=true) |
|
41
|
|
|
*/ |
|
42
|
|
|
protected $textAlignXS; |
|
43
|
|
|
|
|
44
|
|
|
/** |
|
45
|
|
|
* @var string |
|
46
|
|
|
* |
|
47
|
|
|
* @deprecated |
|
48
|
|
|
* @ORM\Column(name="container_background_xs", type="string", length=255, nullable=true) |
|
49
|
|
|
*/ |
|
50
|
|
|
protected $containerBackgroundXS; |
|
51
|
|
|
|
|
52
|
|
|
/** |
|
53
|
|
|
* @var string |
|
54
|
|
|
* |
|
55
|
|
|
* @ORM\Column(name="container_background_type_xs", type="string", length=255, nullable=true) |
|
56
|
|
|
*/ |
|
57
|
|
|
protected $containerBackgroundTypeXS; |
|
58
|
|
|
|
|
59
|
|
|
/** |
|
60
|
|
|
* @var string |
|
61
|
|
|
* |
|
62
|
|
|
* @ORM\Column(name="container_background_repeat_xs", type="string", length=255, nullable=true) |
|
63
|
|
|
*/ |
|
64
|
|
|
protected $containerBackgroundRepeatXS; |
|
65
|
|
|
|
|
66
|
|
|
/** |
|
67
|
|
|
* @var string |
|
68
|
|
|
* |
|
69
|
|
|
* @ORM\Column(name="container_background_position_xs", type="string", length=255, nullable=true) |
|
70
|
|
|
*/ |
|
71
|
|
|
protected $containerBackgroundPositionXS; |
|
72
|
|
|
|
|
73
|
|
|
/** |
|
74
|
|
|
* @var string |
|
75
|
|
|
* |
|
76
|
|
|
* @ORM\Column(name="container_background_size_xs", type="string", length=255, nullable=true) |
|
77
|
|
|
*/ |
|
78
|
|
|
protected $containerBackgroundSizeXS; |
|
79
|
|
|
|
|
80
|
|
|
/** |
|
81
|
|
|
* @var string |
|
82
|
|
|
* |
|
83
|
|
|
* @ORM\Column(name="container_background_color_xs", type="string", length=255, nullable=true) |
|
84
|
|
|
*/ |
|
85
|
|
|
protected $containerBackgroundColorXS; |
|
86
|
|
|
|
|
87
|
|
|
/** |
|
88
|
|
|
* @var string |
|
89
|
|
|
* |
|
90
|
|
|
* @ORM\ManyToOne(targetEntity="\Victoire\Bundle\MediaBundle\Entity\Media") |
|
91
|
|
|
* @ORM\JoinColumn(name="container_background_image_xs_id", referencedColumnName="id", onDelete="SET NULL", nullable=true) |
|
92
|
|
|
*/ |
|
93
|
|
|
protected $containerBackgroundImageXS; |
|
94
|
|
|
|
|
95
|
|
|
/** |
|
96
|
|
|
* @var string |
|
97
|
|
|
* |
|
98
|
|
|
* @ORM\Column(name="container_background_overlay_xs", type="string", length=255, nullable=true) |
|
99
|
|
|
*/ |
|
100
|
|
|
protected $containerBackgroundOverlayXS; |
|
101
|
|
|
|
|
102
|
|
|
/** |
|
103
|
|
|
* @return string |
|
104
|
|
|
*/ |
|
105
|
|
|
public function getContainerMarginXS() |
|
106
|
|
|
{ |
|
107
|
|
|
return $this->containerMarginXS; |
|
108
|
|
|
} |
|
109
|
|
|
|
|
110
|
|
|
/** |
|
111
|
|
|
* @param string $containerMarginXS |
|
112
|
|
|
* |
|
113
|
|
|
* @return $this |
|
114
|
|
|
*/ |
|
115
|
|
|
public function setContainerMarginXS($containerMarginXS) |
|
116
|
|
|
{ |
|
117
|
|
|
$this->containerMarginXS = $containerMarginXS; |
|
118
|
|
|
|
|
119
|
|
|
return $this; |
|
120
|
|
|
} |
|
121
|
|
|
|
|
122
|
|
|
/** |
|
123
|
|
|
* @return string |
|
124
|
|
|
*/ |
|
125
|
|
|
public function getContainerPaddingXS() |
|
126
|
|
|
{ |
|
127
|
|
|
return $this->containerPaddingXS; |
|
128
|
|
|
} |
|
129
|
|
|
|
|
130
|
|
|
/** |
|
131
|
|
|
* @param string $containerPaddingXS |
|
132
|
|
|
* |
|
133
|
|
|
* @return $this |
|
134
|
|
|
*/ |
|
135
|
|
|
public function setContainerPaddingXS($containerPaddingXS) |
|
136
|
|
|
{ |
|
137
|
|
|
$this->containerPaddingXS = $containerPaddingXS; |
|
138
|
|
|
|
|
139
|
|
|
return $this; |
|
140
|
|
|
} |
|
141
|
|
|
|
|
142
|
|
|
/** |
|
143
|
|
|
* @return string |
|
144
|
|
|
*/ |
|
145
|
|
|
public function getContainerHeightXS() |
|
146
|
|
|
{ |
|
147
|
|
|
return $this->containerHeightXS; |
|
148
|
|
|
} |
|
149
|
|
|
|
|
150
|
|
|
/** |
|
151
|
|
|
* @param string $containerHeightXS |
|
152
|
|
|
* |
|
153
|
|
|
* @return $this |
|
154
|
|
|
*/ |
|
155
|
|
|
public function setContainerHeightXS($containerHeightXS) |
|
156
|
|
|
{ |
|
157
|
|
|
$this->containerHeightXS = $containerHeightXS; |
|
158
|
|
|
|
|
159
|
|
|
return $this; |
|
160
|
|
|
} |
|
161
|
|
|
|
|
162
|
|
|
/** |
|
163
|
|
|
* @return string |
|
164
|
|
|
*/ |
|
165
|
|
|
public function getContainerWidthXS() |
|
166
|
|
|
{ |
|
167
|
|
|
return $this->containerWidthXS; |
|
168
|
|
|
} |
|
169
|
|
|
|
|
170
|
|
|
/** |
|
171
|
|
|
* @param string $containerWidthXS |
|
172
|
|
|
* |
|
173
|
|
|
* @return $this |
|
174
|
|
|
*/ |
|
175
|
|
|
public function setContainerWidthXS($containerWidthXS) |
|
176
|
|
|
{ |
|
177
|
|
|
$this->containerWidthXS = $containerWidthXS; |
|
178
|
|
|
|
|
179
|
|
|
return $this; |
|
180
|
|
|
} |
|
181
|
|
|
|
|
182
|
|
|
/** |
|
183
|
|
|
* @return string |
|
184
|
|
|
*/ |
|
185
|
|
|
public function getTextAlignXS() |
|
186
|
|
|
{ |
|
187
|
|
|
return $this->textAlignXS; |
|
188
|
|
|
} |
|
189
|
|
|
|
|
190
|
|
|
/** |
|
191
|
|
|
* @param string $textAlignXS |
|
192
|
|
|
* |
|
193
|
|
|
* @return $this |
|
194
|
|
|
*/ |
|
195
|
|
|
public function setTextAlignXS($textAlignXS) |
|
196
|
|
|
{ |
|
197
|
|
|
$this->textAlignXS = $textAlignXS; |
|
198
|
|
|
|
|
199
|
|
|
return $this; |
|
200
|
|
|
} |
|
201
|
|
|
|
|
202
|
|
|
/** |
|
203
|
|
|
* @return string |
|
204
|
|
|
*/ |
|
205
|
|
|
public function getContainerBackgroundXS() |
|
206
|
|
|
{ |
|
207
|
|
|
return $this->containerBackgroundXS; |
|
|
|
|
|
|
208
|
|
|
} |
|
209
|
|
|
|
|
210
|
|
|
/** |
|
211
|
|
|
* @param string $containerBackgroundXS |
|
212
|
|
|
* |
|
213
|
|
|
* @return $this |
|
214
|
|
|
*/ |
|
215
|
|
|
public function setContainerBackgroundXS($containerBackgroundXS) |
|
216
|
|
|
{ |
|
217
|
|
|
$this->containerBackgroundXS = $containerBackgroundXS; |
|
|
|
|
|
|
218
|
|
|
|
|
219
|
|
|
return $this; |
|
220
|
|
|
} |
|
221
|
|
|
|
|
222
|
|
|
/** |
|
223
|
|
|
* @return string |
|
224
|
|
|
*/ |
|
225
|
|
|
public function getContainerBackgroundTypeXS() |
|
226
|
|
|
{ |
|
227
|
|
|
return $this->containerBackgroundTypeXS; |
|
228
|
|
|
} |
|
229
|
|
|
|
|
230
|
|
|
/** |
|
231
|
|
|
* @param string $containerBackgroundTypeXS |
|
232
|
|
|
* |
|
233
|
|
|
* @return $this |
|
234
|
|
|
*/ |
|
235
|
|
|
public function setContainerBackgroundTypeXS($containerBackgroundTypeXS) |
|
236
|
|
|
{ |
|
237
|
|
|
$this->containerBackgroundTypeXS = $containerBackgroundTypeXS; |
|
238
|
|
|
|
|
239
|
|
|
return $this; |
|
240
|
|
|
} |
|
241
|
|
|
|
|
242
|
|
|
/** |
|
243
|
|
|
* @return string |
|
244
|
|
|
*/ |
|
245
|
|
|
public function getContainerBackgroundRepeatXS() |
|
246
|
|
|
{ |
|
247
|
|
|
return $this->containerBackgroundRepeatXS; |
|
248
|
|
|
} |
|
249
|
|
|
|
|
250
|
|
|
/** |
|
251
|
|
|
* @param string $containerBackgroundRepeatXS |
|
252
|
|
|
* |
|
253
|
|
|
* @return $this |
|
254
|
|
|
*/ |
|
255
|
|
|
public function setContainerBackgroundRepeatXS($containerBackgroundRepeatXS) |
|
256
|
|
|
{ |
|
257
|
|
|
$this->containerBackgroundRepeatXS = $containerBackgroundRepeatXS; |
|
258
|
|
|
|
|
259
|
|
|
return $this; |
|
260
|
|
|
} |
|
261
|
|
|
|
|
262
|
|
|
/** |
|
263
|
|
|
* @return string |
|
264
|
|
|
*/ |
|
265
|
|
|
public function getContainerBackgroundPositionXS() |
|
266
|
|
|
{ |
|
267
|
|
|
return $this->containerBackgroundPositionXS; |
|
268
|
|
|
} |
|
269
|
|
|
|
|
270
|
|
|
/** |
|
271
|
|
|
* @param string $containerBackgroundPositionXS |
|
272
|
|
|
* |
|
273
|
|
|
* @return $this |
|
274
|
|
|
*/ |
|
275
|
|
|
public function setContainerBackgroundPositionXS($containerBackgroundPositionXS) |
|
276
|
|
|
{ |
|
277
|
|
|
$this->containerBackgroundPositionXS = $containerBackgroundPositionXS; |
|
278
|
|
|
|
|
279
|
|
|
return $this; |
|
280
|
|
|
} |
|
281
|
|
|
|
|
282
|
|
|
/** |
|
283
|
|
|
* @return string |
|
284
|
|
|
*/ |
|
285
|
|
|
public function getContainerBackgroundSizeXS() |
|
286
|
|
|
{ |
|
287
|
|
|
return $this->containerBackgroundSizeXS; |
|
288
|
|
|
} |
|
289
|
|
|
|
|
290
|
|
|
/** |
|
291
|
|
|
* @param string $containerBackgroundSizeXS |
|
292
|
|
|
* |
|
293
|
|
|
* @return $this |
|
294
|
|
|
*/ |
|
295
|
|
|
public function setContainerBackgroundSizeXS($containerBackgroundSizeXS) |
|
296
|
|
|
{ |
|
297
|
|
|
$this->containerBackgroundSizeXS = $containerBackgroundSizeXS; |
|
298
|
|
|
|
|
299
|
|
|
return $this; |
|
300
|
|
|
} |
|
301
|
|
|
|
|
302
|
|
|
/** |
|
303
|
|
|
* @return string |
|
304
|
|
|
*/ |
|
305
|
|
|
public function getContainerBackgroundColorXS() |
|
306
|
|
|
{ |
|
307
|
|
|
return $this->containerBackgroundColorXS; |
|
308
|
|
|
} |
|
309
|
|
|
|
|
310
|
|
|
/** |
|
311
|
|
|
* @param string $containerBackgroundColorXS |
|
312
|
|
|
* |
|
313
|
|
|
* @return $this |
|
314
|
|
|
*/ |
|
315
|
|
|
public function setContainerBackgroundColorXS($containerBackgroundColorXS) |
|
316
|
|
|
{ |
|
317
|
|
|
$this->containerBackgroundColorXS = $containerBackgroundColorXS; |
|
318
|
|
|
|
|
319
|
|
|
return $this; |
|
320
|
|
|
} |
|
321
|
|
|
|
|
322
|
|
|
/** |
|
323
|
|
|
* @return string |
|
324
|
|
|
*/ |
|
325
|
|
|
public function getContainerBackgroundImageXS() |
|
326
|
|
|
{ |
|
327
|
|
|
return $this->containerBackgroundImageXS; |
|
328
|
|
|
} |
|
329
|
|
|
|
|
330
|
|
|
/** |
|
331
|
|
|
* Set image. |
|
332
|
|
|
* |
|
333
|
|
|
* @param Media $image |
|
334
|
|
|
* |
|
335
|
|
|
* @return $this |
|
336
|
|
|
*/ |
|
337
|
|
|
public function setContainerBackgroundImageXS(Media $image = null) |
|
338
|
|
|
{ |
|
339
|
|
|
$this->containerBackgroundImageXS = $image; |
|
|
|
|
|
|
340
|
|
|
|
|
341
|
|
|
return $this; |
|
342
|
|
|
} |
|
343
|
|
|
|
|
344
|
|
|
/** |
|
345
|
|
|
* @return string |
|
346
|
|
|
*/ |
|
347
|
|
|
public function getContainerBackgroundOverlayXS() |
|
348
|
|
|
{ |
|
349
|
|
|
return $this->containerBackgroundOverlayXS; |
|
350
|
|
|
} |
|
351
|
|
|
|
|
352
|
|
|
/** |
|
353
|
|
|
* @param string $containerBackgroundOverlayXS |
|
354
|
|
|
* |
|
355
|
|
|
* @return $this |
|
356
|
|
|
*/ |
|
357
|
|
|
public function setContainerBackgroundOverlayXS($containerBackgroundOverlayXS) |
|
358
|
|
|
{ |
|
359
|
|
|
$this->containerBackgroundOverlayXS = $containerBackgroundOverlayXS; |
|
360
|
|
|
|
|
361
|
|
|
return $this; |
|
362
|
|
|
} |
|
363
|
|
|
} |
|
364
|
|
|
|
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.