public function editReview($product_id, $review_id = null)
    {
        $this->setProductReview($product_id);
        $this->setReview($review_id);
        $this->setTitleEditReview();
        $this->setBreadcrumbEditReview();

        $this->setData('review', $this->data_review);
        $this->setData('product', $this->data_product);
        $this->setData('can_delete', $this->canDeleteReview());

        $this->submitEditReview();
        $this->setDataRatingEditReview();
        $this->outputEditReview();
    }
public function editReview($product_id, $review_id = null)
    {
        $this->setProductReview($product_id);
        $this->setReview($review_id);
        $this->setTitleEditReview();
        $this->setBreadcrumbEditReview();

        $this->setData('review', $this->data_review);
        $this->setData('product', $this->data_product);
        $this->setData('can_delete', $this->canDeleteReview());

        $this->submitEditReview();
        $this->setDataRatingEditReview();
        $this->outputEditReview();
    }
public function editReview ( $ product_id , $ review_id = null ) { $ this -> setProductReview ( $ product_id ) ; $ this -> setReview ( $ review_id ) ; $ this -> setTitleEditReview ( ) ; $ this -> setBreadcrumbEditReview ( ) ; $ this -> setData ( 'review' , $ this -> data_review ) ; $ this -> setData ( 'product' , $ this -> data_product ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteReview ( ) ) ; $ this -> submitEditReview ( ) ; $ this -> setDataRatingEditReview ( ) ; $ this -> outputEditReview ( ) ; }
Displays the edit review page
@param integer $product_id
@param integer|null $review_id
Displays the edit review page