Example #1
0
 /**
  * @see String::highlight()
  *
  * @param string $text Text to search the phrase in
  * @param string $phrase The phrase that will be searched
  * @param array $options An array of html attributes and options.
  * @return string The highlighted text
  * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/text.html#TextHelper::highlight
  */
 public function highlight($text, $phrase, $options = array())
 {
     return $this->_engine->highlight($text, $phrase, $options);
 }