Zend_Search_Lucene_Document_Html::_highlightNodeRecursive
highlight words in content of the specified node
Signature
protected function _highlightNodeRecursive(DOMNode
$contextNode,
array
$wordsToHighlight,
callback
$callback,
array
$params )
Parameters
$contextNode
—
DOMNode
$wordsToHighlight
—
array
$callback
—
object
- Callback method, used to transform (highlighting) text.
$params
—
array
- Array of additionall callback parameters (first non-optional parameter is a text to transform)