Ejemplo n.º 1
0
 /**
  * Creates individual Entry objects of the appropriate type and
  * stores them as members of this entry based upon DOM data.
  *
  * @param DOMNode $child The DOMNode to process
  */
 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     if (strstr($absoluteNodeName, $this->lookupNamespace('ccr') . ':')) {
         $ccrElement = new Extension\Ccr();
         $ccrElement->transferFromDOM($child);
         $this->_ccrData = $ccrElement;
     } else {
         parent::takeChildFromDOM($child);
     }
 }