Property | Type | Description | |
---|---|---|---|
$options |
Method | Description | |
---|---|---|
_determineSnipLocation ( $locations, $prevcount ) | first as will be equally distant. | |
_extractLocations ( $words, $fulltext ) | unless you decide to make the words unique before passing in | |
extractRelevant ( $words, $fulltext, $rellength = 300, $prevcount = 50, $indicator = '...' ) | in the middle of the extract | |
highlight ( $text, $needle, $tag = 'em', $options = [] ) |
public _determineSnipLocation ( $locations, $prevcount ) |
public _extractLocations ( $words, $fulltext ) |
public extractRelevant ( $words, $fulltext, $rellength = 300, $prevcount = 50, $indicator = '...' ) |