public function __construct() { parent::__construct(); }
/** * Aggregate options * * @param Mage_Rating_Model_Rating_Option $option */ public function aggregate($option) { $vote = Mage::getModel('rating/rating_option_vote')->load($option->getVoteId()); $this->aggregateEntityByRatingId($vote->getRatingId(), $vote->getEntityPkValue()); }