Highlight text using specified View helper or callback function.
Signature
public function highlightExtended(string|array
$words,
callback
$callback,
[array
$params = ] )
Parameters
$words
—
object
Words to highlight. Words could be organized using the array or string.
$callback
—
object
Callback method, used to transform (highlighting) text.
$params
—
array
Array of additionall callback parameters passed through into it (first non-optional parameter is an HTML fragment for highlighting) (first non-optional parameter is an HTML fragment for highlighting) (first non-optional parameter is an HTML fragment for highlighting)