@@ 502-512 (lines=11) @@ | ||
499 | /** |
|
500 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
501 | */ |
|
502 | public function __clone() |
|
503 | { |
|
504 | $vars = get_object_vars($this); |
|
505 | foreach ($vars as $key => $value) { |
|
506 | if (is_object($value)) { |
|
507 | $this->$key = clone $value; |
|
508 | } else { |
|
509 | $this->$key = $value; |
|
510 | } |
|
511 | } |
|
512 | } |
|
513 | } |
|
514 |
@@ 470-480 (lines=11) @@ | ||
467 | /** |
|
468 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
469 | */ |
|
470 | public function __clone() |
|
471 | { |
|
472 | $vars = get_object_vars($this); |
|
473 | foreach ($vars as $key => $value) { |
|
474 | if (is_object($value)) { |
|
475 | $this->$key = clone $value; |
|
476 | } else { |
|
477 | $this->$key = $value; |
|
478 | } |
|
479 | } |
|
480 | } |
|
481 | } |
|
482 |
@@ 310-320 (lines=11) @@ | ||
307 | /** |
|
308 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
309 | */ |
|
310 | public function __clone() |
|
311 | { |
|
312 | $vars = get_object_vars($this); |
|
313 | foreach ($vars as $key => $value) { |
|
314 | if (is_object($value)) { |
|
315 | $this->$key = clone $value; |
|
316 | } else { |
|
317 | $this->$key = $value; |
|
318 | } |
|
319 | } |
|
320 | } |
|
321 | ||
322 | /** |
|
323 | * Convert to string. |
@@ 489-499 (lines=11) @@ | ||
486 | /** |
|
487 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
488 | */ |
|
489 | public function __clone() |
|
490 | { |
|
491 | $vars = get_object_vars($this); |
|
492 | foreach ($vars as $key => $value) { |
|
493 | if (is_object($value)) { |
|
494 | $this->$key = clone $value; |
|
495 | } else { |
|
496 | $this->$key = $value; |
|
497 | } |
|
498 | } |
|
499 | } |
|
500 | ||
501 | public static function convertProperty($propertyValue, $propertyType) |
|
502 | { |
@@ 194-204 (lines=11) @@ | ||
191 | /** |
|
192 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
193 | */ |
|
194 | public function __clone() |
|
195 | { |
|
196 | $vars = get_object_vars($this); |
|
197 | foreach ($vars as $key => $value) { |
|
198 | if (is_object($value)) { |
|
199 | $this->$key = clone $value; |
|
200 | } else { |
|
201 | $this->$key = $value; |
|
202 | } |
|
203 | } |
|
204 | } |
|
205 | } |
|
206 |
@@ 174-182 (lines=9) @@ | ||
171 | /** |
|
172 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
173 | */ |
|
174 | public function __clone() |
|
175 | { |
|
176 | $vars = get_object_vars($this); |
|
177 | foreach ($vars as $key => $value) { |
|
178 | if (is_object($value)) { |
|
179 | $this->$key = clone $value; |
|
180 | } |
|
181 | } |
|
182 | } |
|
183 | } |
|
184 |
@@ 227-237 (lines=11) @@ | ||
224 | /** |
|
225 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
226 | */ |
|
227 | public function __clone() |
|
228 | { |
|
229 | $vars = get_object_vars($this); |
|
230 | foreach ($vars as $key => $value) { |
|
231 | if (is_object($value)) { |
|
232 | $this->$key = clone $value; |
|
233 | } else { |
|
234 | $this->$key = $value; |
|
235 | } |
|
236 | } |
|
237 | } |
|
238 | } |
|
239 |
@@ 165-175 (lines=11) @@ | ||
162 | /** |
|
163 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
164 | */ |
|
165 | public function __clone() |
|
166 | { |
|
167 | $vars = get_object_vars($this); |
|
168 | foreach ($vars as $key => $value) { |
|
169 | if (is_object($value)) { |
|
170 | $this->$key = clone $value; |
|
171 | } else { |
|
172 | $this->$key = $value; |
|
173 | } |
|
174 | } |
|
175 | } |
|
176 | } |
|
177 |
@@ 72-82 (lines=11) @@ | ||
69 | /** |
|
70 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
71 | */ |
|
72 | public function __clone() |
|
73 | { |
|
74 | $vars = get_object_vars($this); |
|
75 | foreach ($vars as $key => $value) { |
|
76 | if (is_object($value)) { |
|
77 | $this->$key = clone $value; |
|
78 | } else { |
|
79 | $this->$key = $value; |
|
80 | } |
|
81 | } |
|
82 | } |
|
83 | } |
|
84 |
@@ 75-85 (lines=11) @@ | ||
72 | /** |
|
73 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
74 | */ |
|
75 | public function __clone() |
|
76 | { |
|
77 | $vars = get_object_vars($this); |
|
78 | foreach ($vars as $key => $value) { |
|
79 | if (is_object($value)) { |
|
80 | $this->$key = clone $value; |
|
81 | } else { |
|
82 | $this->$key = $value; |
|
83 | } |
|
84 | } |
|
85 | } |
|
86 | } |
|
87 |
@@ 238-248 (lines=11) @@ | ||
235 | /** |
|
236 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
237 | */ |
|
238 | public function __clone() |
|
239 | { |
|
240 | $vars = get_object_vars($this); |
|
241 | foreach ($vars as $key => $value) { |
|
242 | if (is_object($value)) { |
|
243 | $this->$key = clone $value; |
|
244 | } else { |
|
245 | $this->$key = $value; |
|
246 | } |
|
247 | } |
|
248 | } |
|
249 | } |
|
250 |
@@ 154-164 (lines=11) @@ | ||
151 | /** |
|
152 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
153 | */ |
|
154 | public function __clone() |
|
155 | { |
|
156 | $vars = get_object_vars($this); |
|
157 | foreach ($vars as $key => $value) { |
|
158 | if (is_object($value)) { |
|
159 | $this->$key = clone $value; |
|
160 | } else { |
|
161 | $this->$key = $value; |
|
162 | } |
|
163 | } |
|
164 | } |
|
165 | } |
|
166 |
@@ 121-131 (lines=11) @@ | ||
118 | /** |
|
119 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
120 | */ |
|
121 | public function __clone() |
|
122 | { |
|
123 | $vars = get_object_vars($this); |
|
124 | foreach ($vars as $key => $value) { |
|
125 | if (is_object($value)) { |
|
126 | $this->$key = clone $value; |
|
127 | } else { |
|
128 | $this->$key = $value; |
|
129 | } |
|
130 | } |
|
131 | } |
|
132 | } |
|
133 |
@@ 281-291 (lines=11) @@ | ||
278 | /** |
|
279 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
280 | */ |
|
281 | public function __clone() |
|
282 | { |
|
283 | $vars = get_object_vars($this); |
|
284 | foreach ($vars as $key => $value) { |
|
285 | if (is_object($value)) { |
|
286 | $this->$key = clone $value; |
|
287 | } else { |
|
288 | $this->$key = $value; |
|
289 | } |
|
290 | } |
|
291 | } |
|
292 | } |
|
293 |
@@ 488-498 (lines=11) @@ | ||
485 | /** |
|
486 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
487 | */ |
|
488 | public function __clone() |
|
489 | { |
|
490 | $vars = get_object_vars($this); |
|
491 | foreach ($vars as $key => $value) { |
|
492 | if (is_object($value)) { |
|
493 | $this->$key = clone $value; |
|
494 | } else { |
|
495 | $this->$key = $value; |
|
496 | } |
|
497 | } |
|
498 | } |
|
499 | } |
|
500 |
@@ 347-357 (lines=11) @@ | ||
344 | /** |
|
345 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
346 | */ |
|
347 | public function __clone() |
|
348 | { |
|
349 | $vars = get_object_vars($this); |
|
350 | foreach ($vars as $key => $value) { |
|
351 | if (is_object($value)) { |
|
352 | $this->$key = clone $value; |
|
353 | } else { |
|
354 | $this->$key = $value; |
|
355 | } |
|
356 | } |
|
357 | } |
|
358 | } |
|
359 |
@@ 175-185 (lines=11) @@ | ||
172 | /** |
|
173 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
174 | */ |
|
175 | public function __clone() |
|
176 | { |
|
177 | $vars = get_object_vars($this); |
|
178 | foreach ($vars as $key => $value) { |
|
179 | if (is_object($value)) { |
|
180 | $this->$key = unserialize(serialize($value)); |
|
181 | } else { |
|
182 | $this->$key = $value; |
|
183 | } |
|
184 | } |
|
185 | } |
|
186 | } |
|
187 |
@@ 203-213 (lines=11) @@ | ||
200 | /** |
|
201 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
202 | */ |
|
203 | public function __clone() |
|
204 | { |
|
205 | $vars = get_object_vars($this); |
|
206 | foreach ($vars as $key => $value) { |
|
207 | if (is_object($value)) { |
|
208 | $this->$key = clone $value; |
|
209 | } else { |
|
210 | $this->$key = $value; |
|
211 | } |
|
212 | } |
|
213 | } |
|
214 | } |
|
215 |
@@ 575-585 (lines=11) @@ | ||
572 | /** |
|
573 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
574 | */ |
|
575 | public function __clone() |
|
576 | { |
|
577 | $vars = get_object_vars($this); |
|
578 | foreach ($vars as $key => $value) { |
|
579 | if (is_object($value)) { |
|
580 | $this->$key = clone $value; |
|
581 | } else { |
|
582 | $this->$key = $value; |
|
583 | } |
|
584 | } |
|
585 | } |
|
586 | } |
|
587 |
@@ 160-170 (lines=11) @@ | ||
157 | /** |
|
158 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
159 | */ |
|
160 | public function __clone() |
|
161 | { |
|
162 | $vars = get_object_vars($this); |
|
163 | foreach ($vars as $key => $value) { |
|
164 | if (is_object($value)) { |
|
165 | $this->$key = clone $value; |
|
166 | } else { |
|
167 | $this->$key = $value; |
|
168 | } |
|
169 | } |
|
170 | } |
|
171 | } |
|
172 |
@@ 840-850 (lines=11) @@ | ||
837 | /** |
|
838 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
839 | */ |
|
840 | public function __clone() |
|
841 | { |
|
842 | $vars = get_object_vars($this); |
|
843 | foreach ($vars as $key => $value) { |
|
844 | if (is_object($value)) { |
|
845 | $this->$key = clone $value; |
|
846 | } else { |
|
847 | $this->$key = $value; |
|
848 | } |
|
849 | } |
|
850 | } |
|
851 | } |
|
852 |
@@ 1063-1073 (lines=11) @@ | ||
1060 | /** |
|
1061 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
1062 | */ |
|
1063 | public function __clone() |
|
1064 | { |
|
1065 | $vars = get_object_vars($this); |
|
1066 | foreach ($vars as $key => $value) { |
|
1067 | if ((is_object($value)) && ($key != 'parent')) { |
|
1068 | $this->$key = clone $value; |
|
1069 | } else { |
|
1070 | $this->$key = $value; |
|
1071 | } |
|
1072 | } |
|
1073 | } |
|
1074 | ||
1075 | /** |
|
1076 | * Get index to cellXf. |
@@ 94-104 (lines=11) @@ | ||
91 | /** |
|
92 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
93 | */ |
|
94 | public function __clone() |
|
95 | { |
|
96 | $vars = get_object_vars($this); |
|
97 | foreach ($vars as $key => $value) { |
|
98 | if ((is_object($value)) && ($key != 'parent')) { |
|
99 | $this->$key = clone $value; |
|
100 | } else { |
|
101 | $this->$key = $value; |
|
102 | } |
|
103 | } |
|
104 | } |
|
105 | } |
|
106 |