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();
    }
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();
    }
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 ( ) ; }
Performs full review data validation
@param array $submitted
@param array $options
@return array|boolean
Performs full review data validation