protected _highlightTextNode ( DOMText $node, array $wordsToHighlight, callback $callback, array $params ) | ||
$node | DOMText | |
$wordsToHighlight | array | |
$callback | callback | Callback method, used to transform (highlighting) text. |
$params | array | Array of additionall callback parameters (first non-optional parameter is a text to transform) |