highlightExtended()
공개 메소드
Highlight text using specified View helper or callback function.
public highlightExtended ( string | array $words, callback $callback, array $params = [] ) : string |
$words |
string | array |
Words to highlight. Words could be organized using the array or string. |
$callback |
callback |
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) |
리턴 |
string |
|