original_string: public function headerText($header, $text, $not = false,
                                  array $opts = array())
      {
          if (!isset($this->_search['header'])) {
              $this->_search['header'] = array();
          }
          $this->_search['header'][] = array_filter(array(
              'fuzzy' => !empty($opts['fuzzy']),
              'header' => Horde_String::upper($header),
              'text' => $text,
              'not' => $not
          ));
      }
code: public function headerText($header, $text, $not = false,
                                  array $opts = array())
      {
          if (!isset($this->_search['header'])) {
              $this->_search['header'] = array();
          }
          $this->_search['header'][] = array_filter(array(
              'fuzzy' => !empty($opts['fuzzy']),
              'header' => Horde_String::upper($header),
              'text' => $text,
              'not' => $not
          ));
      }
code_tokens: public function headerText ( $ header , $ text , $ not = false , array $ opts = array ( ) ) { if ( ! isset ( $ this -> _search [ 'header' ] ) ) { $ this -> _search [ 'header' ] = array ( ) ; } $ this -> _search [ 'header' ] [ ] = array_filter ( array ( 'fuzzy' => ! empty ( $ opts [ 'fuzzy' ] ) , 'header' => Horde_String :: upper ( $ header ) , 'text' => $ text , 'not' => $ not ) ) ; }
docstring: Search for text in the header of a message.
  
  @param string $header  The header field.
  @param string $text    The search text.
  @param boolean $not    If true, do a 'NOT' search of $text.
  @param array $opts     Additional options:
  - fuzzy: (boolean) If true, perform a fuzzy search. The IMAP server
  MUST support RFC 6203.
docstring_tokens: Search for text in the header of a message .