/** * @param int $countStars * * @return string */ protected function getLabelHtml($countStars) { if ($countStars == 6) { return Mage::helper('amshopby')->__(self::NOT_RATED_LABEL); } $block = new Mage_Core_Block_Template(); $block->setStar($countStars); $html = $block->setTemplate('amasty/amshopby/rating.phtml')->toHtml(); return $html; }
/** * @param int $countStars * * @return string */ protected function getLabelHtml($countStars) { $block = new Mage_Core_Block_Template(); $block->setStar($countStars); $html = $block->setTemplate('amasty/amshopby/rating.phtml')->toHtml(); return $html; }