protected function exportDomain(domain $vad5f82e879a9c5d6b5b442eb37e50551) { $v72ee76c5c29383b7c9f9225c1fa4d10b = $vad5f82e879a9c5d6b5b442eb37e50551->getId(); if (isset($this->exported_domains[$v72ee76c5c29383b7c9f9225c1fa4d10b])) { return false; } if ($this->limit) { if ($this->position >= $this->limit) { $this->break = true; return false; } } $v4a8a08f09d37b73795649038408b5f33 = $this->doc->createElement('domain'); $this->translateEntity($vad5f82e879a9c5d6b5b442eb37e50551, $v4a8a08f09d37b73795649038408b5f33); $v0bb5aff4a4154504d1117c453c35edd8 = $this->relations->getOldDomainIdRelation($this->source_id, $v72ee76c5c29383b7c9f9225c1fa4d10b); if ($v0bb5aff4a4154504d1117c453c35edd8 === false) { $this->relations->setDomainIdRelation($this->source_id, $v72ee76c5c29383b7c9f9225c1fa4d10b, $v72ee76c5c29383b7c9f9225c1fa4d10b); $v0bb5aff4a4154504d1117c453c35edd8 = $v72ee76c5c29383b7c9f9225c1fa4d10b; } else { $v4a8a08f09d37b73795649038408b5f33->setAttribute('id', $v0bb5aff4a4154504d1117c453c35edd8); } $vf585b7f018bb4ced15a03683a733e50b = $vad5f82e879a9c5d6b5b442eb37e50551->getDefaultLangId(); if ($this->exportLang($vf585b7f018bb4ced15a03683a733e50b)) { if ($this->limit && $this->position >= $this->limit) { $this->break = true; return true; } } $v392cdf2310e931972f2459edc1ea2ff2 = $this->relations->getOldLangIdRelation($this->source_id, $vf585b7f018bb4ced15a03683a733e50b); $v4a8a08f09d37b73795649038408b5f33->setAttribute('lang-id', $v392cdf2310e931972f2459edc1ea2ff2); $v4b9c7061b34a64924383494f4cd28b13 = $vad5f82e879a9c5d6b5b442eb37e50551->getMirrowsList(); foreach ($v4b9c7061b34a64924383494f4cd28b13 as $v95be0a2e6132b4fa2294808f7dbcc52a) { $v6f8f57715090da2632453988d9a1501b = $this->doc->createElement('domain-mirror'); $v4a8a08f09d37b73795649038408b5f33->appendChild($v6f8f57715090da2632453988d9a1501b); $this->translateEntity($v95be0a2e6132b4fa2294808f7dbcc52a, $v6f8f57715090da2632453988d9a1501b); $v1834e28d86200a836697541c12fa09bd = $v95be0a2e6132b4fa2294808f7dbcc52a->getId(); $ve788cc9c8ff1d105698156a7628ff6ef = $this->relations->getOldDomainMirrorIdRelation($this->source_id, $v1834e28d86200a836697541c12fa09bd); if ($ve788cc9c8ff1d105698156a7628ff6ef === false) { $this->relations->setDomainMirrorIdRelation($this->source_id, $v1834e28d86200a836697541c12fa09bd, $v1834e28d86200a836697541c12fa09bd); $ve788cc9c8ff1d105698156a7628ff6ef = $v1834e28d86200a836697541c12fa09bd; } else { $v6f8f57715090da2632453988d9a1501b->setAttribute('id', $ve788cc9c8ff1d105698156a7628ff6ef); } } $this->domains_container->appendChild($v4a8a08f09d37b73795649038408b5f33); $this->exported_domains[$v72ee76c5c29383b7c9f9225c1fa4d10b] = $v0bb5aff4a4154504d1117c453c35edd8; $this->position++; return true; }