|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00028 require_once 'Zend/Service/Yahoo/Result.php'; 00029 00030 00038 class Zend_Service_Yahoo_VideoResult extends Zend_Service_Yahoo_Result 00039 { 00045 public $Summary; 00046 00052 public $RefererUrl; 00053 00059 public $FileSize; 00060 00066 public $FileFormat; 00067 00073 public $Height; 00074 00080 public $Width; 00081 00087 public $Duration; 00088 00094 public $Channels; 00095 00101 public $Streaming; 00102 00108 public $Thumbnail; 00109 00115 protected $_namespace = 'urn:yahoo:srchmv'; 00116 00117 00124 public function __construct(DOMElement $result) 00125 { 00126 $this->_fields = array('Summary', 'RefererUrl', 'FileSize', 'FileFormat', 'Height', 'Width', 'Duration', 'Channels', 'Streaming', 'Thumbnail'); 00127 00128 parent::__construct($result); 00129 00130 $this->_setThumbnail(); 00131 } 00132 }