protected function takeChildFromDOM($child) { $absoluteNodeName = $child->namespaceURI . ':' . $child->localName; switch ($absoluteNodeName) { case $this->lookupNamespace('atom') . ':' . 'entry': $newEntry = new $this->_entryClassName($child); $newEntry->setHttpClient($this->getHttpClient()); $newEntry->setMajorProtocolVersion($this->getMajorProtocolVersion()); $newEntry->setMinorProtocolVersion($this->getMinorProtocolVersion()); $this->_entry[] = $newEntry; break; default: parent::takeChildFromDOM($child); break; } }