dataDeliveryUrl = $options['dataDeliveryUrl']; } public function setClient(&$XmlRpcClient) { $this->client = $XmlRpcClient; } public function load($Product) { $this->product = $Product; } public function render($bEcho = true) { $str = ''; $references = $this->client->getProductReferences($this->product); if (isset($references['faultCode'])){ $str .= "
"; if ($reference['mimeType'] == 'image/jpeg') { $str .= "dataDeliveryUrl."/data?refIndex=$referenceCounter&productID={$this->product->getID()}\">"; } else { $str .= "request->moduleStatic."/img/download-icon.gif\"/>"; } $str .= " | "; $str .= "".urldecode($fileName)." $fileSizeStr "; $str .= "Mime Type: $reference[mimeType] "; if($reference['mimeType'] == 'image/jpeg') { $str .= " dataDeliveryUrl."/data?refIndex=$referenceCounter&productID={$this->product->getID()}\" target=\"_new\">view "; $str .= "product->getID()}&refNumber=$referenceCounter&fileName=$fileName\">save "; } else{ $str .= "dataDeliveryUrl."/data?refIndex=$referenceCounter&productID={$this->product->getID()}\">save "; } $str .= " | ";
$str .= "