FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Data\Report\SpdxLicenseInfo Class Reference
Collaboration diagram for Fossology\Lib\Data\Report\SpdxLicenseInfo:
Collaboration graph

Public Member Functions

 isTextPrinted ()
 
 setTextPrinted (bool $textPrinted)
 
 getLicenseObj ()
 
 setLicenseObj (License $licenseObj)
 
 isListedLicense ()
 
 setListedLicense (bool $listedLicense)
 
 isCustomText ()
 
 setCustomText (bool $customText)
 

Private Attributes

 $licenseObj
 
 $listedLicense = false
 
 $customText = false
 
 $textPrinted = false
 

Detailed Description

Definition at line 13 of file SpdxLicenseInfo.php.

Member Function Documentation

◆ getLicenseObj()

Fossology\Lib\Data\Report\SpdxLicenseInfo::getLicenseObj ( )
Returns
License

Definition at line 57 of file SpdxLicenseInfo.php.

◆ isCustomText()

Fossology\Lib\Data\Report\SpdxLicenseInfo::isCustomText ( )
Returns
bool

Definition at line 93 of file SpdxLicenseInfo.php.

◆ isListedLicense()

Fossology\Lib\Data\Report\SpdxLicenseInfo::isListedLicense ( )
Returns
bool

Definition at line 75 of file SpdxLicenseInfo.php.

◆ isTextPrinted()

Fossology\Lib\Data\Report\SpdxLicenseInfo::isTextPrinted ( )
Returns
bool

Definition at line 39 of file SpdxLicenseInfo.php.

◆ setCustomText()

Fossology\Lib\Data\Report\SpdxLicenseInfo::setCustomText ( bool  $customText)
Parameters
bool$customText
Returns
SpdxLicenseInfo

Definition at line 102 of file SpdxLicenseInfo.php.

◆ setLicenseObj()

Fossology\Lib\Data\Report\SpdxLicenseInfo::setLicenseObj ( License  $licenseObj)
Parameters
License$licenseObj
Returns
SpdxLicenseInfo

Definition at line 66 of file SpdxLicenseInfo.php.

◆ setListedLicense()

Fossology\Lib\Data\Report\SpdxLicenseInfo::setListedLicense ( bool  $listedLicense)
Parameters
bool$listedLicense
Returns
SpdxLicenseInfo

Definition at line 84 of file SpdxLicenseInfo.php.

◆ setTextPrinted()

Fossology\Lib\Data\Report\SpdxLicenseInfo::setTextPrinted ( bool  $textPrinted)
Parameters
bool$textPrinted
Returns
SpdxLicenseInfo

Definition at line 48 of file SpdxLicenseInfo.php.

Member Data Documentation

◆ $customText

bool Fossology\Lib\Data\Report\SpdxLicenseInfo::$customText = false
private

Is a custom text license?

Definition at line 29 of file SpdxLicenseInfo.php.

◆ $licenseObj

License Fossology\Lib\Data\Report\SpdxLicenseInfo::$licenseObj
private

License object to get data from.

Definition at line 19 of file SpdxLicenseInfo.php.

◆ $listedLicense

bool Fossology\Lib\Data\Report\SpdxLicenseInfo::$listedLicense = false
private

Is a SPDX listed license?

Definition at line 24 of file SpdxLicenseInfo.php.

◆ $textPrinted

bool Fossology\Lib\Data\Report\SpdxLicenseInfo::$textPrinted = false
private

Is the license text already printed?

Definition at line 34 of file SpdxLicenseInfo.php.


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