我正在尝试实例化审阅助手类,但失败了。我需要访问 Mage_Review_Block_Product_View 类的 getReviewsSummaryHtml()(app/code/code/Mage/Review/Block/Product/View.php)。
我试过这个:
Mage::helper('review/product')->getReviewsSummaryHtml($_product, false, true);
但我收到致命错误:找不到类'Mage_Review_Helper_Product'。
我究竟做错了什么?
(ps 我不能使用 $this->getReviewsSummaryHtml 因为 $this 超出范围。)
谢谢