original_string: public function getTriggered(array $data = array(), array $options = array())
      {
          $options += array('status' => 1);
          $triggers = (array) $this->getList($options);
  
          if (empty($triggers)) {
              return array();
          }
  
          $triggered = array();
          foreach ($triggers as $trigger) {
              if ($this->condition->isMet($trigger, $data)) {
                  $triggered[] = $trigger['trigger_id'];
              }
          }
  
          return $triggered;
      }
code: public function getTriggered(array $data = array(), array $options = array())
      {
          $options += array('status' => 1);
          $triggers = (array) $this->getList($options);
  
          if (empty($triggers)) {
              return array();
          }
  
          $triggered = array();
          foreach ($triggers as $trigger) {
              if ($this->condition->isMet($trigger, $data)) {
                  $triggered[] = $trigger['trigger_id'];
              }
          }
  
          return $triggered;
      }
code_tokens: public function getTriggered ( array $ data = array ( ) , array $ options = array ( ) ) { $ options += array ( 'status' => 1 ) ; $ triggers = ( array ) $ this -> getList ( $ options ) ; if ( empty ( $ triggers ) ) { return array ( ) ; } $ triggered = array ( ) ; foreach ( $ triggers as $ trigger ) { if ( $ this -> condition -> isMet ( $ trigger , $ data ) ) { $ triggered [ ] = $ trigger [ 'trigger_id' ] ; } } return $ triggered ; }
docstring: Returns an array of triggered IDs for the given context
  @param array $data
  @param array $options
  @return array
docstring_tokens: Returns an array of triggered IDs for the given context