コード例 #1
0
ファイル: Highlighter.php プロジェクト: ngangchill/po
 /**
  * {@inheritdoc}
  */
 public function highlight($words)
 {
     $this->_doc->highlightExtended($words, [$this, 'wrapWords'], []);
 }
コード例 #2
0
ファイル: Highlighter.php プロジェクト: nqxcode/search-engine
 /**
  * {@inheritdoc}
  */
 public function highlight($words)
 {
     $this->doc->highlightExtended($words, array($this, 'applyColour'), array());
 }