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

Public Member Functions

 __construct ($result)
 
 getDeclaredLicense ()
 
 getUrl ()
 
 getRelease ()
 
 getFiles ()
 
 getAttribution ()
 
 getDiscoveredLicenses ()
 
 getScore ()
 

Private Attributes

 $declaredLicense
 
 $url
 
 $release
 
 $files
 
 $attribution
 
 $discoveredLicenses
 
 $score
 

Detailed Description

Holds summary of Definition data for quick display

Definition at line 13 of file DefinitionSummary.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\Lib\Data\Spasht\DefinitionSummary::__construct (   $result)

Set the object based on object returned by API

Parameters
array$objArray containing the data

Definition at line 61 of file DefinitionSummary.php.

Member Function Documentation

◆ getAttribution()

Fossology\Lib\Data\Spasht\DefinitionSummary::getAttribution ( )
Returns
string

Definition at line 150 of file DefinitionSummary.php.

◆ getDeclaredLicense()

Fossology\Lib\Data\Spasht\DefinitionSummary::getDeclaredLicense ( )
Returns
string

Definition at line 118 of file DefinitionSummary.php.

◆ getDiscoveredLicenses()

Fossology\Lib\Data\Spasht\DefinitionSummary::getDiscoveredLicenses ( )
Returns
string

Definition at line 158 of file DefinitionSummary.php.

◆ getFiles()

Fossology\Lib\Data\Spasht\DefinitionSummary::getFiles ( )
Returns
number

Definition at line 142 of file DefinitionSummary.php.

◆ getRelease()

Fossology\Lib\Data\Spasht\DefinitionSummary::getRelease ( )
Returns
string

Definition at line 134 of file DefinitionSummary.php.

◆ getScore()

Fossology\Lib\Data\Spasht\DefinitionSummary::getScore ( )
Returns
integer

Definition at line 166 of file DefinitionSummary.php.

◆ getUrl()

Fossology\Lib\Data\Spasht\DefinitionSummary::getUrl ( )
Returns
string

Definition at line 126 of file DefinitionSummary.php.

Member Data Documentation

◆ $attribution

string Fossology\Lib\Data\Spasht\DefinitionSummary::$attribution
private

First 100 characters of copyrights

Definition at line 43 of file DefinitionSummary.php.

◆ $declaredLicense

string Fossology\Lib\Data\Spasht\DefinitionSummary::$declaredLicense
private

Declared License

Definition at line 19 of file DefinitionSummary.php.

◆ $discoveredLicenses

string Fossology\Lib\Data\Spasht\DefinitionSummary::$discoveredLicenses
private

First 100 characters of discovered licenses

Definition at line 49 of file DefinitionSummary.php.

◆ $files

int Fossology\Lib\Data\Spasht\DefinitionSummary::$files
private

No. of files in package

Definition at line 37 of file DefinitionSummary.php.

◆ $release

string Fossology\Lib\Data\Spasht\DefinitionSummary::$release
private

Release date

Definition at line 31 of file DefinitionSummary.php.

◆ $score

integer Fossology\Lib\Data\Spasht\DefinitionSummary::$score
private

Package score

Definition at line 55 of file DefinitionSummary.php.

◆ $url

string Fossology\Lib\Data\Spasht\DefinitionSummary::$url
private

Source URL

Definition at line 25 of file DefinitionSummary.php.


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