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

Public Member Functions

 __construct ($id, $shortName, $fullName, $risk, $text, $url, $detectorType, $spdxCompatible=false)
 
 getRisk ()
 
 getDetectorType ()
 
 getSpdxCompatible ()
 
 getText ()
 
 getUrl ()
 
 getRef ()
 
- Public Member Functions inherited from Fossology\Lib\Data\LicenseRef
 __construct ($licenseId, $licenseShortName, $licenseName)
 
 getId ()
 
 getFullName ()
 
 getShortName ()
 
 __toString ()
 

Private Attributes

 $text
 
 $url
 
 $risk
 
 $detectorType
 
 $spdxCompatible
 

Detailed Description

Definition at line 22 of file License.php.

Member Function Documentation

Fossology\Lib\Data\License::getDetectorType ( )
Returns
int

Definition at line 66 of file License.php.

Fossology\Lib\Data\License::getRef ( )
Returns
LicenseRef

Definition at line 96 of file License.php.

Fossology\Lib\Data\License::getRisk ( )
Returns
int

Definition at line 58 of file License.php.

Fossology\Lib\Data\License::getSpdxCompatible ( )
Returns
boolean

Definition at line 74 of file License.php.

Fossology\Lib\Data\License::getText ( )
Returns
string

Definition at line 82 of file License.php.

Fossology\Lib\Data\License::getUrl ( )
Returns
string

Definition at line 90 of file License.php.


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