original_string: protected function validateEditTrigger()
      {
          $this->setSubmitted('trigger', null, false);
          $this->setSubmittedBool('status');
          $this->setSubmittedArray('data.conditions');
          $this->setSubmitted('update', $this->data_trigger);
  
          $this->validateComponent('trigger');
  
          return !$this->hasErrors();
      }
code: protected function validateEditTrigger()
      {
          $this->setSubmitted('trigger', null, false);
          $this->setSubmittedBool('status');
          $this->setSubmittedArray('data.conditions');
          $this->setSubmitted('update', $this->data_trigger);
  
          $this->validateComponent('trigger');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditTrigger ( ) { $ this -> setSubmitted ( 'trigger' , null , false ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmittedArray ( 'data.conditions' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_trigger ) ; $ this -> validateComponent ( 'trigger' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted trigger
  @return bool
docstring_tokens: Validates a submitted trigger