FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\View\HighlightState Class Reference
Collaboration diagram for Fossology\Lib\View\HighlightState:
Collaboration graph

Public Member Functions

 __construct (HighlightRenderer $highlightRenderer, $insertBacklink=false)
 
 push (SplitPosition $splitPosition)
 
 pop ()
 
 getElementStack ()
 
 processSplitEntries ($entries)
 
 insertElements ($entries, PagedResult $result)
 
 closeOpenElements (PagedResult $result)
 
 openExistingElements (PagedResult $result)
 

Public Attributes

const PLACEHOLDER = " # "
 

Protected Member Functions

 startSpan (SplitPosition $entry)
 
 checkForAnchor (SplitPosition $entry)
 

Private Attributes

 $elementStack
 
 $highlightRenderer
 
 $anchorDrawn
 
 $insertBacklink
 

Detailed Description

Definition at line 15 of file HighlightState.php.

Member Function Documentation

◆ checkForAnchor()

Fossology\Lib\View\HighlightState::checkForAnchor ( SplitPosition  $entry)
protected
Parameters
SplitPosition$entry
Returns
bool

Definition at line 142 of file HighlightState.php.

◆ closeOpenElements()

Fossology\Lib\View\HighlightState::closeOpenElements ( PagedResult  $result)
Parameters
\Fossology\Lib\View\PagedResult$result

Definition at line 107 of file HighlightState.php.

◆ getElementStack()

Fossology\Lib\View\HighlightState::getElementStack ( )
Returns
SplitPosition[]

Definition at line 54 of file HighlightState.php.

◆ insertElements()

Fossology\Lib\View\HighlightState::insertElements (   $entries,
PagedResult  $result 
)
Parameters
SplitPosition[]$entries
PagedResult$result

Definition at line 81 of file HighlightState.php.

◆ openExistingElements()

Fossology\Lib\View\HighlightState::openExistingElements ( PagedResult  $result)
Parameters
$result

Definition at line 118 of file HighlightState.php.

◆ pop()

Fossology\Lib\View\HighlightState::pop ( )
Returns
SplitPosition[]

Definition at line 46 of file HighlightState.php.

◆ processSplitEntries()

Fossology\Lib\View\HighlightState::processSplitEntries (   $entries)
Parameters
SplitPosition[]$entries

Definition at line 62 of file HighlightState.php.

◆ push()

Fossology\Lib\View\HighlightState::push ( SplitPosition  $splitPosition)
Parameters
SplitPosition$splitPosition

Definition at line 38 of file HighlightState.php.

◆ startSpan()

Fossology\Lib\View\HighlightState::startSpan ( SplitPosition  $entry)
protected
Parameters
SplitPosition$entry
Returns
string

Definition at line 129 of file HighlightState.php.

Member Data Documentation

◆ $anchorDrawn

Fossology\Lib\View\HighlightState::$anchorDrawn
private
Parameters
boolean

Definition at line 24 of file HighlightState.php.


The documentation for this class was generated from the following file: