【发布时间】:2011-11-29 14:52:07
【问题描述】:
我正在尝试实例化审阅助手类但失败了.. 我需要访问 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”。
我做错了什么?
(p.s. 我不能使用 $this->getReviewsSummaryHtml 因为 $this 超出了范围。)
谢谢
【问题讨论】: