Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Flickr/Result.php
Go to the documentation of this file.
00001 <?php
00002 
00032 class Zend_Service_Flickr_Result
00033 {
00039     public $id;
00040 
00046     public $owner;
00047 
00053     public $secret;
00054 
00060     public $server;
00061 
00067     public $title;
00068 
00074     public $ispublic;
00075 
00081     public $isfriend;
00082 
00088     public $isfamily;
00089 
00095     public $license;
00096 
00102     public $dateupload;
00103 
00109     public $datetaken;
00110 
00116     public $ownername;
00117 
00123     public $iconserver;
00124 
00130     public $Square;
00131 
00137     public $Thumbnail;
00138 
00144     public $Small;
00145 
00151     public $Medium;
00152 
00158     public $Large;
00159 
00165     public $Original;
00166 
00172     protected $_flickr;
00173 
00181     public function __construct(DOMElement $image, Zend_Service_Flickr $flickr)
00182     {
00183         $xpath = new DOMXPath($image->ownerDocument);
00184 
00185         foreach ($xpath->query('./@*', $image) as $property) {
00186             $this->{$property->name} = (string) $property->value;
00187         }
00188 
00189         $this->_flickr = $flickr;
00190 
00191         foreach ($this->_flickr->getImageDetails($this->id) as $k => $v) {
00192             $this->$k = $v;
00193         }
00194     }
00195 }
 All Data Structures Namespaces Files Functions Variables Enumerations