original_string: public function getSnippet($text, $index, $terms, $options = array())
      {
          $results = $this->getSnippets(array($text), $index, $terms, $options);
  
          if ($results) {
              return $results[0];
          }
  
          return false;
      }
code: public function getSnippet($text, $index, $terms, $options = array())
      {
          $results = $this->getSnippets(array($text), $index, $terms, $options);
  
          if ($results) {
              return $results[0];
          }
  
          return false;
      }
code_tokens: public function getSnippet ( $ text , $ index , $ terms , $ options = array ( ) ) { $ results = $ this -> getSnippets ( array ( $ text ) , $ index , $ terms , $ options ) ; if ( $ results ) { return $ results [ 0 ] ; } return false ; }
docstring: Get snippet for text
  
  @param string $text    Text to process
  @param string $index   Search index
  @param string $terms   Words for highlight
  @param array  $options Generate snippet option
  
  @return string|false
docstring_tokens: Get snippet for text