protected function validateEditProductClass()
    {
        $this->setSubmitted('product_class');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_product_class);

        $this->validateComponent('product_class');

        return !$this->hasErrors();
    }
protected function validateEditProductClass()
    {
        $this->setSubmitted('product_class');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_product_class);

        $this->validateComponent('product_class');

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