public function compare(array &$submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateProductCompare();

        return $this->getResult();
    }
public function compare(array &$submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateProductCompare();

        return $this->getResult();
    }
public function compare ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateProductCompare ( ) ; return $ this -> getResult ( ) ; }
Performs full product comparison data validation
@param array $submitted
@param array $options
@return boolean|array
Performs full product comparison data validation