1 | <?php |
||
27 | class BlockPosition extends \Eccube\Entity\AbstractEntity |
||
28 | { |
||
29 | /** |
||
30 | * @var int |
||
31 | * |
||
32 | * @ORM\Column(name="page_id", type="integer", options={"unsigned":true}, nullable=true) |
||
33 | * |
||
34 | * @deprecated |
||
35 | */ |
||
36 | private $page_id; |
||
37 | |||
38 | /** |
||
39 | * @var int |
||
40 | * |
||
41 | * @ORM\Column(name="section", type="integer", options={"unsigned":true}) |
||
42 | * @ORM\Id |
||
43 | * @ORM\GeneratedValue(strategy="NONE") |
||
44 | */ |
||
45 | private $section; |
||
46 | |||
47 | /** |
||
48 | * @var int |
||
49 | * |
||
50 | * @ORM\Column(name="block_id", type="integer", options={"unsigned":true}) |
||
51 | * @ORM\Id |
||
52 | * @ORM\GeneratedValue(strategy="NONE") |
||
53 | */ |
||
54 | private $block_id; |
||
55 | |||
56 | /** |
||
57 | * @var int |
||
58 | * |
||
59 | * @ORM\Column(name="layout_id", type="integer", options={"unsigned":true}) |
||
60 | * @ORM\Id |
||
61 | * @ORM\GeneratedValue(strategy="NONE") |
||
62 | */ |
||
63 | private $layout_id; |
||
64 | |||
65 | /** |
||
66 | * @var int|null |
||
67 | * |
||
68 | * @ORM\Column(name="block_row", type="integer", nullable=true, options={"unsigned":true}) |
||
69 | */ |
||
70 | private $block_row; |
||
71 | |||
72 | /** |
||
73 | * @var int |
||
74 | * |
||
75 | * @ORM\Column(name="anywhere", type="smallint", options={"default":0}) |
||
76 | * |
||
77 | * @deprecated |
||
78 | */ |
||
79 | private $anywhere = 0; |
||
80 | |||
81 | /** |
||
82 | * @var \Eccube\Entity\Block |
||
83 | * |
||
84 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Block", inversedBy="BlockPositions") |
||
85 | * @ORM\JoinColumns({ |
||
86 | * @ORM\JoinColumn(name="block_id", referencedColumnName="id") |
||
87 | * }) |
||
88 | */ |
||
89 | private $Block; |
||
90 | |||
91 | /** |
||
92 | * @var \Eccube\Entity\PageLayout |
||
93 | * |
||
94 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Page", inversedBy="BlockPositions") |
||
95 | * @ORM\JoinColumns({ |
||
96 | * @ORM\JoinColumn(name="page_id", referencedColumnName="id") |
||
97 | * }) |
||
98 | * |
||
99 | * @deprecated |
||
100 | */ |
||
101 | private $Page; |
||
102 | |||
103 | /** |
||
104 | * @var \Eccube\Entity\Layout |
||
105 | * |
||
106 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Layout", inversedBy="BlockPositions") |
||
107 | * @ORM\JoinColumns({ |
||
108 | * @ORM\JoinColumn(name="layout_id", referencedColumnName="id") |
||
109 | * }) |
||
110 | */ |
||
111 | private $Layout; |
||
112 | |||
113 | /** |
||
114 | * Set pageId. |
||
115 | * |
||
116 | * @param int $pageId |
||
117 | * |
||
118 | * @return BlockPosition |
||
119 | * |
||
120 | * @deprecated |
||
121 | */ |
||
122 | public function setPageId($pageId) |
||
128 | |||
129 | /** |
||
130 | * Get pageId. |
||
131 | * |
||
132 | * @return int |
||
133 | * |
||
134 | * @deprecated |
||
135 | */ |
||
136 | public function getPageId() |
||
140 | |||
141 | /** |
||
142 | * Set section. |
||
143 | * |
||
144 | * @param int $section |
||
145 | * |
||
146 | * @return BlockPosition |
||
147 | */ |
||
148 | 1 | public function setSection($section) |
|
154 | |||
155 | /** |
||
156 | * Get section. |
||
157 | * |
||
158 | * @return int |
||
159 | */ |
||
160 | 113 | public function getSection() |
|
164 | |||
165 | /** |
||
166 | * Set blockId. |
||
167 | * |
||
168 | * @param int $blockId |
||
169 | * |
||
170 | * @return BlockPosition |
||
171 | */ |
||
172 | 1 | public function setBlockId($blockId) |
|
178 | |||
179 | /** |
||
180 | * Get blockId. |
||
181 | * |
||
182 | * @return int |
||
183 | */ |
||
184 | 1 | public function getBlockId() |
|
188 | |||
189 | /** |
||
190 | * Set layoutId. |
||
191 | * |
||
192 | * @param int $layoutId |
||
193 | * |
||
194 | * @return BlockPosition |
||
195 | */ |
||
196 | 1 | public function setLayoutId($layoutId) |
|
202 | |||
203 | /** |
||
204 | * Get layoutId. |
||
205 | * |
||
206 | * @return int |
||
207 | */ |
||
208 | public function getLayoutId() |
||
212 | |||
213 | /** |
||
214 | * Set blockRow. |
||
215 | * |
||
216 | * @param int|null $blockRow |
||
217 | * |
||
218 | * @return BlockPosition |
||
219 | */ |
||
220 | 1 | public function setBlockRow($blockRow = null) |
|
226 | |||
227 | /** |
||
228 | * Get blockRow. |
||
229 | * |
||
230 | * @return int|null |
||
231 | */ |
||
232 | public function getBlockRow() |
||
236 | |||
237 | /** |
||
238 | * Set anywhere. |
||
239 | * |
||
240 | * @param int $anywhere |
||
241 | * |
||
242 | * @return BlockPosition |
||
243 | * |
||
244 | * @deprecated |
||
245 | */ |
||
246 | public function setAnywhere($anywhere) |
||
252 | |||
253 | /** |
||
254 | * Get anywhere. |
||
255 | * |
||
256 | * @return int |
||
257 | * |
||
258 | * @deprecated |
||
259 | */ |
||
260 | public function getAnywhere() |
||
264 | |||
265 | /** |
||
266 | * Set block. |
||
267 | * |
||
268 | * @param \Eccube\Entity\Block|null $block |
||
269 | * |
||
270 | * @return BlockPosition |
||
271 | */ |
||
272 | 1 | public function setBlock(\Eccube\Entity\Block $block = null) |
|
278 | |||
279 | /** |
||
280 | * Get block. |
||
281 | * |
||
282 | * @return \Eccube\Entity\Block|null |
||
283 | */ |
||
284 | 117 | public function getBlock() |
|
288 | |||
289 | /** |
||
290 | * Set layout. |
||
291 | * |
||
292 | * @param \Eccube\Entity\Layout|null $Layout |
||
293 | * |
||
294 | * @return BlockPosition |
||
295 | */ |
||
296 | 1 | public function setLayout(\Eccube\Entity\Layout $Layout = null) |
|
302 | |||
303 | /** |
||
304 | * Get Layout. |
||
305 | * |
||
306 | * @return \Eccube\Entity\Layout|null |
||
307 | */ |
||
308 | public function getLayout() |
||
312 | |||
313 | /** |
||
314 | * Set pageLayout. |
||
315 | * |
||
316 | * @param \Eccube\Entity\Page|null $Page |
||
317 | * |
||
318 | * @return BlockPosition |
||
319 | * |
||
320 | * @deprecated |
||
321 | */ |
||
322 | public function setPage(\Eccube\Entity\Page $Page = null) |
||
328 | |||
329 | /** |
||
330 | * Get pageLayout. |
||
331 | * |
||
332 | * @return PageLayout |
||
333 | * |
||
334 | * @deprecated |
||
335 | */ |
||
336 | public function getPage() |
||
340 | } |
||
341 |
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.