. */ /** * CustomerReviews * * This file contains the class AmazonProduct_CustomerReviews * * @author Matthew John Denton * @package com.mdbitz.amazon.product */ /** * AmazonProduct_CustomerReviews defines the CustomerReviews object * * Properties * * * @package com.mdbitz.amazon.product */ class AmazonProduct_CustomerReviews extends AmazonProduct_Abstract { public function parseXML( $node ) { foreach ( $node->childNodes as $item ) { switch( $item->nodeName ) { case "IFrameURL": $this->set( $item->nodeName, $item->nodeValue ); break; case "HasReviews": $this->set( $item->nodeName, $item->nodeValue ); break; default: $this->processNode( $item ); break; } } } }