protected function validateEditPriceRule()
    {
        $this->setSubmitted('price_rule', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_rule);

        $this->validateComponent('price_rule');

        return !$this->hasErrors();
    }
protected function validateEditPriceRule()
    {
        $this->setSubmitted('price_rule', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_rule);

        $this->validateComponent('price_rule');

        return !$this->hasErrors();
    }
protected function validateEditPriceRule ( ) { $ this -> setSubmitted ( 'price_rule' , null , false ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_rule ) ; $ this -> validateComponent ( 'price_rule' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted price rule
@return bool
Validates a submitted price rule