FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Fossology\Lib\Data\Highlight Class Reference
Collaboration diagram for Fossology\Lib\Data\Highlight:
Collaboration graph

Public Member Functions

 __construct ($start, $end, $type, $refStart=-1, $refEnd=-1, $infoText="", $htmlElement=null)
 
 getStart ()
 
 getEnd ()
 
 getType ()
 
 setLicenseId ($licenseId)
 
 getLicenseId ()
 
 hasLicenseId ()
 
 isPersistent ()
 
 getRefStart ()
 
 getRefEnd ()
 
 getRefLength ()
 
 setInfoText ($infoText)
 
 getInfoText ()
 
 getHtmlElement ()
 
 __toString ()
 

Public Attributes

const MATCH = "M"
 
const CHANGED = "MC"
 
const ADDED = "MA"
 
const DELETED = "MD"
 
const SIGNATURE = "S"
 
const KEYWORD = "K"
 
const BULK = "B"
 
const COPYRIGHT = "C"
 
const URL = "U"
 
const EMAIL = "E"
 
const AUTHOR = "A"
 
const IP = "I"
 
const ECC = "X"
 
const KEYWORDOTHERS = "KW"
 
const UNDEFINED = "any"
 

Private Member Functions

 hasRef ()
 

Private Attributes

 $start
 
 $end
 
 $type
 
 $licenseId
 
 $refStart
 
 $refEnd
 
 $infoText
 
 $htmlElement
 

Detailed Description

Definition at line 24 of file Highlight.php.

Constructor & Destructor Documentation

Fossology\Lib\Data\Highlight::__construct (   $start,
  $end,
  $type,
  $refStart = -1,
  $refEnd = -1,
  $infoText = "",
  $htmlElement = null 
)
Parameters
int$start
int$end
string$type
int$refStart
int$refEnd
string$infoText
null | HtmlElement$htmlElement

Definition at line 85 of file Highlight.php.

Member Function Documentation

Fossology\Lib\Data\Highlight::getEnd ( )
Returns
int

Definition at line 109 of file Highlight.php.

Fossology\Lib\Data\Highlight::getHtmlElement ( )
Returns
null|HtmlElement

Definition at line 204 of file Highlight.php.

Fossology\Lib\Data\Highlight::getInfoText ( )
Returns
string

Definition at line 196 of file Highlight.php.

Fossology\Lib\Data\Highlight::getLicenseId ( )
Returns
int

Definition at line 134 of file Highlight.php.

Fossology\Lib\Data\Highlight::getRefEnd ( )
Returns
int

Definition at line 172 of file Highlight.php.

Fossology\Lib\Data\Highlight::getRefLength ( )
Returns
int

Definition at line 180 of file Highlight.php.

Fossology\Lib\Data\Highlight::getRefStart ( )
Returns
int

Definition at line 159 of file Highlight.php.

Fossology\Lib\Data\Highlight::getStart ( )
Returns
int

Definition at line 101 of file Highlight.php.

Fossology\Lib\Data\Highlight::getType ( )
Returns
string

Definition at line 117 of file Highlight.php.

Fossology\Lib\Data\Highlight::hasLicenseId ( )
Returns
boolean

Definition at line 142 of file Highlight.php.

Fossology\Lib\Data\Highlight::isPersistent ( )
Returns
boolean

Definition at line 150 of file Highlight.php.

Fossology\Lib\Data\Highlight::setInfoText (   $infoText)
Parameters
string$infoText

Definition at line 188 of file Highlight.php.

Fossology\Lib\Data\Highlight::setLicenseId (   $licenseId)
Parameters
$licenseId
Returns
void

Definition at line 126 of file Highlight.php.


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