original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Displays the edit review page
  @param integer $product_id
  @param integer|null $review_id
docstring_tokens: Displays the edit review page