protected function takeChildFromDOM($child) { $absoluteNodeName = $child->namespaceURI . ':' . $child->localName; switch ($absoluteNodeName) { case $this->lookupNamespace('gd') . ':' . 'reminder': $reminder = new Reminder(); $reminder->transferFromDOM($child); $this->_reminders[] = $reminder; break; default: parent::takeChildFromDOM($child); break; } }