Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Amazon/Accessories.php
Go to the documentation of this file.
00001 <?php
00002 
00032 class Zend_Service_Amazon_Accessories
00033 {
00037     public $ASIN;
00038 
00042     public $Title;
00043 
00050     public function __construct(DOMElement $dom)
00051     {
00052         $xpath = new DOMXPath($dom->ownerDocument);
00053         $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
00054         foreach (array('ASIN', 'Title') as $el) {
00055             $this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
00056         }
00057     }
00058 }
 All Data Structures Namespaces Files Functions Variables Enumerations