FOSSology  3.2.0rc1
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 26 of file HighlightState.php.

Member Function Documentation

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

Definition at line 153 of file HighlightState.php.

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

Definition at line 118 of file HighlightState.php.

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

Definition at line 65 of file HighlightState.php.

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

Definition at line 92 of file HighlightState.php.

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

Definition at line 129 of file HighlightState.php.

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

Definition at line 57 of file HighlightState.php.

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

Definition at line 73 of file HighlightState.php.

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

Definition at line 49 of file HighlightState.php.

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

Definition at line 140 of file HighlightState.php.

Member Data Documentation

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

Definition at line 35 of file HighlightState.php.


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