original_string: protected function setProductReview($product_id)
      {
          $this->data_product = $this->product->get($product_id);
  
          if (empty($this->data_product['status']) || $this->data_product['store_id'] != $this->store_id) {
              $this->outputHttpStatus(404);
          }
  
          $this->prepareProductReview($this->data_product);
      }
code: protected function setProductReview($product_id)
      {
          $this->data_product = $this->product->get($product_id);
  
          if (empty($this->data_product['status']) || $this->data_product['store_id'] != $this->store_id) {
              $this->outputHttpStatus(404);
          }
  
          $this->prepareProductReview($this->data_product);
      }
code_tokens: protected function setProductReview ( $ product_id ) { $ this -> data_product = $ this -> product -> get ( $ product_id ) ; if ( empty ( $ this -> data_product [ 'status' ] ) || $ this -> data_product [ 'store_id' ] != $ this -> store_id ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareProductReview ( $ this -> data_product ) ; }
docstring: Sets a product data
  @param integer $product_id
docstring_tokens: Sets a product data