FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct ($id, $shortName, $fullName, $risk, $text, $url, $detectorType, $spdxId=null) | |
getRisk () | |
getDetectorType () | |
getSpdxId () | |
getText () | |
getUrl () | |
getRef () | |
Public Member Functions inherited from Fossology\Lib\Data\LicenseRef | |
__construct ($licenseId, $licenseShortName, $licenseName, $spdxId) | |
getId () | |
getFullName () | |
getShortName () | |
__toString () | |
Private Attributes | |
$text | |
$url | |
$risk | |
$detectorType | |
$spdxId | |
Additional Inherited Members | |
Static Public Member Functions inherited from Fossology\Lib\Data\LicenseRef | |
static | convertToSpdxId ($shortname, $spdxId) |
Given a license's shortname and spdx id, give out spdx id to use in reports. More... | |
static | replaceSpaces ($licenseName) |
Public Attributes inherited from Fossology\Lib\Data\LicenseRef | |
const | SPDXREF_PREFIX = "LicenseRef-" |
const | SPDXREF_PREFIX_FOSSOLOGY = "LicenseRef-fossology-" |
Definition at line 11 of file License.php.
Fossology\Lib\Data\License::getDetectorType | ( | ) |
Definition at line 55 of file License.php.
Fossology\Lib\Data\License::getRef | ( | ) |
Definition at line 85 of file License.php.
Fossology\Lib\Data\License::getRisk | ( | ) |
Definition at line 47 of file License.php.
Fossology\Lib\Data\License::getSpdxId | ( | ) |
Reimplemented from Fossology\Lib\Data\LicenseRef.
Definition at line 63 of file License.php.
Fossology\Lib\Data\License::getText | ( | ) |
Definition at line 71 of file License.php.
Fossology\Lib\Data\License::getUrl | ( | ) |
Definition at line 79 of file License.php.