Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Amazon/Image.php
Go to the documentation of this file.
00001 <?php
00002 
00032 class Zend_Service_Amazon_Image
00033 {
00039     public $Url;
00040 
00046     public $Height;
00047 
00053     public $Width;
00054 
00061     public function __construct(DOMElement $dom)
00062     {
00063         $xpath = new DOMXPath($dom->ownerDocument);
00064         $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
00065         $this->Url = Zend_Uri::factory($xpath->query('./az:URL/text()', $dom)->item(0)->data);
00066         $this->Height = (int) $xpath->query('./az:Height/text()', $dom)->item(0)->data;
00067         $this->Width = (int) $xpath->query('./az:Width/text()', $dom)->item(0)->data;
00068     }
00069 }
 All Data Structures Namespaces Files Functions Variables Enumerations