WIKINDX API trunk

HIGHLIGHT
in package

HIGHLIGHT class.

Highlight search terms for advsearch and qsearch (type == 'search') and ideas (type == 'ideas')

Table of Contents

Methods

__construct()  : mixed
process()  : string
Do pattern highlighting after a SEARCH operation

Methods

process()

Do pattern highlighting after a SEARCH operation

public process(string $text[, string $type = 'qsearch' ]) : string
Parameters
$text : string
$type : string = 'qsearch'

Default 'qsearch' (alternatives are 'advsearch' and 'ideas')

Return values
string

        
On this page

Search results