original_string: protected function validateEditCountryState()
      {
          $this->setSubmitted('state');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_state);
          $this->setSubmitted('country', $this->data_country['code']);
  
          $this->validateComponent('country_state');
  
          return !$this->hasErrors();
      }
code: protected function validateEditCountryState()
      {
          $this->setSubmitted('state');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_state);
          $this->setSubmitted('country', $this->data_country['code']);
  
          $this->validateComponent('country_state');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditCountryState ( ) { $ this -> setSubmitted ( 'state' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_state ) ; $ this -> setSubmitted ( 'country' , $ this -> data_country [ 'code' ] ) ; $ this -> validateComponent ( 'country_state' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted country state data
  @return boolean
docstring_tokens: Validates a submitted country state data