original_string: public function text($text, $bodyonly = true, $not = false,
                           array $opts = array())
      {
          if (!isset($this->_search['text'])) {
              $this->_search['text'] = array();
          }
  
          $this->_search['text'][] = array_filter(array(
              'fuzzy' => !empty($opts['fuzzy']),
              'not' => $not,
              'text' => $text,
              'type' => $bodyonly ? 'BODY' : 'TEXT'
          ));
      }
code: public function text($text, $bodyonly = true, $not = false,
                           array $opts = array())
      {
          if (!isset($this->_search['text'])) {
              $this->_search['text'] = array();
          }
  
          $this->_search['text'][] = array_filter(array(
              'fuzzy' => !empty($opts['fuzzy']),
              'not' => $not,
              'text' => $text,
              'type' => $bodyonly ? 'BODY' : 'TEXT'
          ));
      }
code_tokens: public function text ( $ text , $ bodyonly = true , $ not = false , array $ opts = array ( ) ) { if ( ! isset ( $ this -> _search [ 'text' ] ) ) { $ this -> _search [ 'text' ] = array ( ) ; } $ this -> _search [ 'text' ] [ ] = array_filter ( array ( 'fuzzy' => ! empty ( $ opts [ 'fuzzy' ] ) , 'not' => $ not , 'text' => $ text , 'type' => $ bodyonly ? 'BODY' : 'TEXT' ) ) ; }
docstring: Search for text in either the entire message, or just the body.
  
  @param string $text      The search text.
  @param string $bodyonly  If true, only search in the body of the
  message. If false, also search in the headers.
  @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 either the entire message or just the body .