protected function translateData(iTemplate $v66f6181bcb4cff4cd38fbc804a036db6) { $v26b75b176d665f24a5fd22a2ad815763 = array(); $v26b75b176d665f24a5fd22a2ad815763['attribute:id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getId(); $v26b75b176d665f24a5fd22a2ad815763['attribute:title'] = $v66f6181bcb4cff4cd38fbc804a036db6->getTitle(); $v26b75b176d665f24a5fd22a2ad815763['attribute:name'] = $v66f6181bcb4cff4cd38fbc804a036db6->getName(); $v26b75b176d665f24a5fd22a2ad815763['attribute:type'] = $v66f6181bcb4cff4cd38fbc804a036db6->getType(); $v26b75b176d665f24a5fd22a2ad815763['attribute:filename'] = $v66f6181bcb4cff4cd38fbc804a036db6->getFilename(); $v26b75b176d665f24a5fd22a2ad815763['attribute:domain-id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getDomainId(); $v26b75b176d665f24a5fd22a2ad815763['attribute:lang-id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getLangId(); if ($v66f6181bcb4cff4cd38fbc804a036db6->getIsDefault()) { $v26b75b176d665f24a5fd22a2ad815763['attribute:is-default'] = true; } return $v26b75b176d665f24a5fd22a2ad815763; }
public function prepareDataTemplate(iTemplate $v66f6181bcb4cff4cd38fbc804a036db6) { $vb81ca7c0ccaa77e7aa91936ab0070695 = umiHierarchy::getInstance(); $v8d777f385d3dfec8815d20f7496026dc = array(); $vcaf9b6b99962bf5c2264824231d7a40c = array(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getId(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:name'] = $v66f6181bcb4cff4cd38fbc804a036db6->getName(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:title'] = $v66f6181bcb4cff4cd38fbc804a036db6->getTitle(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:filename'] = $v66f6181bcb4cff4cd38fbc804a036db6->getFileName(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:type'] = $v66f6181bcb4cff4cd38fbc804a036db6->getType(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:lang-id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getLangId(); $vcaf9b6b99962bf5c2264824231d7a40c['attribute:domain-id'] = $v66f6181bcb4cff4cd38fbc804a036db6->getDomainId(); $v557f12a93c5bf0febb3b293feeb085be = $v66f6181bcb4cff4cd38fbc804a036db6->getUsedPages(); $vb3b32a2d422265cd25c3323ed0157f81 = array(); foreach ($v557f12a93c5bf0febb3b293feeb085be as $vfc07ae6b81515e9c73cb36ac08488ca1) { $v8e2dcfd7e7e24b1ca76c1193f645902b = $vb81ca7c0ccaa77e7aa91936ab0070695->getElement($vfc07ae6b81515e9c73cb36ac08488ca1[0]); if ($v8e2dcfd7e7e24b1ca76c1193f645902b instanceof umiHierarchyElement) { $v7057e8409c7c531a1a6e9ac3df4ed549 = $v8e2dcfd7e7e24b1ca76c1193f645902b->getId(); $vb53e8255f052e2d8f7574bfac8663930['attribute:id'] = $v7057e8409c7c531a1a6e9ac3df4ed549; $vb53e8255f052e2d8f7574bfac8663930['xlink:href'] = "upage://" . $v7057e8409c7c531a1a6e9ac3df4ed549; $vb53e8255f052e2d8f7574bfac8663930['basetype'] = selector::get('hierarchy-type')->id($v8e2dcfd7e7e24b1ca76c1193f645902b->getTypeId()); $vb53e8255f052e2d8f7574bfac8663930['name'] = str_replace("\"", "\\\"", $v8e2dcfd7e7e24b1ca76c1193f645902b->getName()); $vb3b32a2d422265cd25c3323ed0157f81[] = $vb53e8255f052e2d8f7574bfac8663930; } } $vcaf9b6b99962bf5c2264824231d7a40c['used-pages']['nodes:page'] = $vb3b32a2d422265cd25c3323ed0157f81; $v8d777f385d3dfec8815d20f7496026dc['template'] = $vcaf9b6b99962bf5c2264824231d7a40c; return $v8d777f385d3dfec8815d20f7496026dc; }