original_string: protected function validateEditProductBundle()
      {
          $this->setSubmitted('product');
          $this->setSubmitted('product_id', $this->data_product['product_id']);
  
          $this->validateComponent('product_bundle');
  
          return !$this->hasErrors();
      }
code: protected function validateEditProductBundle()
      {
          $this->setSubmitted('product');
          $this->setSubmitted('product_id', $this->data_product['product_id']);
  
          $this->validateComponent('product_bundle');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditProductBundle ( ) { $ this -> setSubmitted ( 'product' ) ; $ this -> setSubmitted ( 'product_id' , $ this -> data_product [ 'product_id' ] ) ; $ this -> validateComponent ( 'product_bundle' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a product bundle data
  @return bool
docstring_tokens: Validates a product bundle data