| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | protected function loadPropertiesValue() |
||
| 29 | { |
||
| 30 | foreach ($this->xml->ЗначенияСвойства as $property) { |
||
| 31 | $properties = $this->owner->classifier->getProperties(); |
||
| 32 | $object = clone $properties->getById($property->Ид); |
||
| 33 | $object->productId = (string)$this->xpath('..')[0]->Ид; |
||
|
|
|||
| 34 | $object->init(); |
||
| 35 | $this->append($object); |
||
| 36 | } |
||
| 56 | } |