Zend_Search_Lucene_Document_Html::_highlightTextNode
Highlight text in text node
Signature
protected function _highlightTextNode(DOMText
$node,
array
$wordsToHighlight,
callback
$callback,
array
$params )
Parameters
$node
—
DOMText
$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)
Errors/Exceptions
-
Zend_Search_Lucene_Exception