original_string: public function review(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateReview();
          $this->validateBool('status');
          $this->validateTextReview();
          $this->validateCreatedReview();
          $this->validateProductReview();
          $this->validateEmailReview();
          $this->validateUserId();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function review(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateReview();
          $this->validateBool('status');
          $this->validateTextReview();
          $this->validateCreatedReview();
          $this->validateProductReview();
          $this->validateEmailReview();
          $this->validateUserId();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function review ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateReview ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateTextReview ( ) ; $ this -> validateCreatedReview ( ) ; $ this -> validateProductReview ( ) ; $ this -> validateEmailReview ( ) ; $ this -> validateUserId ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full review data validation
  @param array $submitted
  @param array $options
  @return array|boolean
docstring_tokens: Performs full review data validation