function test_overall_service_rating_badge()
 {
     ob_start();
     $rvm = new ReevooMark('REV', false, 'http://my_url');
     $rvm->overallServiceRatingBadge(array("trkref" => "REV", "variant" => "stars"));
     $out1 = ob_get_contents();
     ob_end_clean();
     $this->assertEqual($out1, '<a class="reevoo_reputation stars_variant" href="http://my_url/retailer/REV"></a>');
 }
示例#2
0
?>

	<?php 
$reevooMark->conversationsBadge(array("sku" => "100A"));
?>

	<?php 
$reevooMark->productSeriesBadge(array("sku" => "ix20", "trkref" => "HYU"));
?>

	<?php 
$reevooMark->conversationSeriesBadge(array("sku" => "ix20", "trkref" => "HYU"));
?>

	<?php 
$reevooMark->overallServiceRatingBadge(array("trkref" => "PIU"));
?>

	<?php 
$reevooMark->customerServiceRatingBadge(array("trkref" => "PIU"));
?>

	<?php 
$reevooMark->deliveryRatingBadge(array("trkref" => "PIU"));
?>

    <?php 
$reevooMark->offersWidget(array("sku" => "3461209", "trkref" => "PCA"));
?>

    <?php