diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/Ebay/Finding/Aspect/Histogram/Container.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/Ebay/Finding/Aspect/Histogram/Container.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,106 @@ +domainDisplayName = $this->_query(".//$ns:domainDisplayName[1]", 'string'); + $this->domainName = $this->_query(".//$ns:domainName[1]", 'string'); + + $this->_attributes['aspect'] = array( + 'name' => $this->_query(".//$ns:aspect/@name", 'string', true) + ); + + $nodes = $this->_xPath->query(".//$ns:aspect", $this->_dom); + if ($nodes->length > 0) { + /** + * @see Zend_Service_Ebay_Finding_Aspect_Set + */ + require_once 'Zend/Service/Ebay/Finding/Aspect/Set.php'; + $this->aspect = new Zend_Service_Ebay_Finding_Aspect_Set($nodes); + } + } +}