|
const | LEVEL = 'level' |
|
const | ACTION = 'action' |
|
const | ENTRY = 'entry' |
|
const | REF_TEXT_MAX_LENGTH = 100 |
|
|
| getSplitPositions ($highlightInfos) |
|
| addHighlightingLayer (&$highlightEntries, &$splitPositions, $level) |
|
| addAllSplitPositions (&$splitPositions, $level, $highlightEntry) |
|
| addSingleSectionSplitPositions (&$splitPositions, $start, $end, $level, $highlightEntry) |
|
| startAndLengthFirstSorter (Highlight $a, Highlight $b) |
|
| splitPositionEntrySorter (SplitPosition $a, SplitPosition $b) |
|
| compare ($a, $b) |
|
| sortSplitPositionEntries (&$splitPositions) |
|
Definition at line 16 of file HighlightProcessor.php.
◆ addAllSplitPositions()
Fossology\Lib\View\HighlightProcessor::addAllSplitPositions |
( |
& |
$splitPositions, |
|
|
|
$level, |
|
|
|
$highlightEntry |
|
) |
| |
|
private |
- Parameters
-
| $splitPositions | |
| $level | |
Highlight | $highlightEntry | |
- Returns
- mixed
Definition at line 176 of file HighlightProcessor.php.
◆ addHighlightingLayer()
Fossology\Lib\View\HighlightProcessor::addHighlightingLayer |
( |
& |
$highlightEntries, |
|
|
& |
$splitPositions, |
|
|
|
$level |
|
) |
| |
|
private |
- Parameters
-
Highlight[] | $highlightEntries | |
| $splitPositions | |
| $level | |
- Returns
- array
Definition at line 151 of file HighlightProcessor.php.
◆ addSingleSectionSplitPositions()
Fossology\Lib\View\HighlightProcessor::addSingleSectionSplitPositions |
( |
& |
$splitPositions, |
|
|
|
$start, |
|
|
|
$end, |
|
|
|
$level, |
|
|
|
$highlightEntry |
|
) |
| |
|
private |
◆ calculateSplitPositions()
Fossology\Lib\View\HighlightProcessor::calculateSplitPositions |
( |
|
$highlights | ) |
|
◆ flattenHighlights()
Fossology\Lib\View\HighlightProcessor::flattenHighlights |
( |
& |
$highlights, |
|
|
|
$excludedTypes = array() |
|
) |
| |
- Parameters
-
Highlight[] | $highlights | |
string[] | $excludedTypes | |
Highlight[] $highlights
Definition at line 93 of file HighlightProcessor.php.
◆ getReferenceText()
Fossology\Lib\View\HighlightProcessor::getReferenceText |
( |
License |
$license, |
|
|
Highlight |
$highlight |
|
) |
| |
|
protected |
◆ getSplitPositions()
Fossology\Lib\View\HighlightProcessor::getSplitPositions |
( |
|
$highlightInfos | ) |
|
|
private |
◆ sortHighlights()
Fossology\Lib\View\HighlightProcessor::sortHighlights |
( |
& |
$highlights | ) |
|
◆ sortSplitPositionEntries()
Fossology\Lib\View\HighlightProcessor::sortSplitPositionEntries |
( |
& |
$splitPositions | ) |
|
|
private |
◆ startAndLengthFirstSorter()
Fossology\Lib\View\HighlightProcessor::startAndLengthFirstSorter |
( |
Highlight |
$a, |
|
|
Highlight |
$b |
|
) |
| |
|
private |
The documentation for this class was generated from the following file: