Definition at line 22 of file Class.SearchHighlight.php.
return part of text where are found keywords Due to unaccent fulltext vectorisation need to transpose original text with highlight text done by headline tsearch2 sql function
- Parameters
-
string | $s | original text |
string | $k | keywords |
- Returns
- string HTML text with tags
Definition at line 95 of file Class.SearchHighlight.php.
return part of text where are found keywords use simply regexp replace
- Parameters
-
string | $s | original text |
string | $k | keywords |
- Returns
- string HTML text with tags
Definition at line 56 of file Class.SearchHighlight.php.
static strtr8 |
( |
|
$s, |
|
|
|
$c1, |
|
|
|
$c2 |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: