original_string: public function trigger(array &$submitted, array $options)
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateTrigger();
          $this->validateBool('status');
          $this->validateName();
          $this->validateStoreId();
          $this->validateWeight();
          $this->validateConditionsTrigger();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function trigger(array &$submitted, array $options)
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateTrigger();
          $this->validateBool('status');
          $this->validateName();
          $this->validateStoreId();
          $this->validateWeight();
          $this->validateConditionsTrigger();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function trigger ( array & $ submitted , array $ options ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateTrigger ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateName ( ) ; $ this -> validateStoreId ( ) ; $ this -> validateWeight ( ) ; $ this -> validateConditionsTrigger ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full trigger data validation
  @param array $submitted
  @param array $options
  @return array|boolean
docstring_tokens: Performs full trigger data validation