Пример #1
0
 /**
  *
  * @param DOMNode $node
  * @param Opus_Document $doc
  */
 private function handleIdentifiers($node, $doc)
 {
     foreach ($node->childNodes as $childNode) {
         if ($childNode instanceof DOMElement) {
             $i = $doc->addIdentifier();
             $i->setValue(trim($childNode->textContent));
             $i->setType($childNode->getAttribute('type'));
         }
     }
 }