original_string: public function product(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateProduct();
          $this->validateSubtractProduct();
          $this->validateBool('status');
          $this->validateCurrencyProduct();
          $this->validateCategoryProduct();
          $this->validateUnitProduct();
          $this->validatePriceProduct();
          $this->validateStockProduct();
          $this->validateTitle();
          $this->validateDescription();
          $this->validateMetaTitle();
          $this->validateMetaDescription();
          $this->validateTranslation();
          $this->validateImages();
          $this->validateStoreId(false);
          $this->validateUserId(false);
          $this->validateDimensionProduct();
          $this->validateRelatedProduct();
          $this->validateClassProduct();
          $this->validateSkuProduct();
          $this->validateAttributeProduct();
          $this->validateCombinationProduct();
          $this->validateAlias();
          $this->validateUploadImages('product');
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function product(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateProduct();
          $this->validateSubtractProduct();
          $this->validateBool('status');
          $this->validateCurrencyProduct();
          $this->validateCategoryProduct();
          $this->validateUnitProduct();
          $this->validatePriceProduct();
          $this->validateStockProduct();
          $this->validateTitle();
          $this->validateDescription();
          $this->validateMetaTitle();
          $this->validateMetaDescription();
          $this->validateTranslation();
          $this->validateImages();
          $this->validateStoreId(false);
          $this->validateUserId(false);
          $this->validateDimensionProduct();
          $this->validateRelatedProduct();
          $this->validateClassProduct();
          $this->validateSkuProduct();
          $this->validateAttributeProduct();
          $this->validateCombinationProduct();
          $this->validateAlias();
          $this->validateUploadImages('product');
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function product ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateProduct ( ) ; $ this -> validateSubtractProduct ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateCurrencyProduct ( ) ; $ this -> validateCategoryProduct ( ) ; $ this -> validateUnitProduct ( ) ; $ this -> validatePriceProduct ( ) ; $ this -> validateStockProduct ( ) ; $ this -> validateTitle ( ) ; $ this -> validateDescription ( ) ; $ this -> validateMetaTitle ( ) ; $ this -> validateMetaDescription ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateImages ( ) ; $ this -> validateStoreId ( false ) ; $ this -> validateUserId ( false ) ; $ this -> validateDimensionProduct ( ) ; $ this -> validateRelatedProduct ( ) ; $ this -> validateClassProduct ( ) ; $ this -> validateSkuProduct ( ) ; $ this -> validateAttributeProduct ( ) ; $ this -> validateCombinationProduct ( ) ; $ this -> validateAlias ( ) ; $ this -> validateUploadImages ( 'product' ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full product data validation
  @param array $submitted
  @param array $options
  @return array|boolean
docstring_tokens: Performs full product data validation