original_string: protected function validateEditZone()
      {
          $this->setSubmitted('zone');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_zone);
  
          $this->validateComponent('zone');
  
          return !$this->hasErrors();
      }
code: protected function validateEditZone()
      {
          $this->setSubmitted('zone');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_zone);
  
          $this->validateComponent('zone');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditZone ( ) { $ this -> setSubmitted ( 'zone' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_zone ) ; $ this -> validateComponent ( 'zone' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted zone
  @return bool
docstring_tokens: Validates a submitted zone