protected function setDataRatingWidgetIndexProduct()
    {
        $data = array(
            'product' => $this->data_product,
            'rating' => $this->rating->getByProduct($this->data_product['product_id'])
        );

        $this->setData('rating', $this->render('common/rating/static', $data));
    }
protected function setDataRatingWidgetIndexProduct()
    {
        $data = array(
            'product' => $this->data_product,
            'rating' => $this->rating->getByProduct($this->data_product['product_id'])
        );

        $this->setData('rating', $this->render('common/rating/static', $data));
    }
protected function setDataRatingWidgetIndexProduct ( ) { $ data = array ( 'product' => $ this -> data_product , 'rating' => $ this -> rating -> getByProduct ( $ this -> data_product [ 'product_id' ] ) ) ; $ this -> setData ( 'rating' , $ this -> render ( 'common/rating/static' , $ data ) ) ; }
Sets the product rating widget
Sets the product rating widget