original_string: protected function validateEditProductClass()
      {
          $this->setSubmitted('product_class');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_product_class);
  
          $this->validateComponent('product_class');
  
          return !$this->hasErrors();
      }
code: protected function validateEditProductClass()
      {
          $this->setSubmitted('product_class');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_product_class);
  
          $this->validateComponent('product_class');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditProductClass ( ) { $ this -> setSubmitted ( 'product_class' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_product_class ) ; $ this -> validateComponent ( 'product_class' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a products class data
  @return bool
docstring_tokens: Validates a products class data