FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Models\Findings Class Reference

Model holding information about license findings and conclusions. More...

Collaboration diagram for Fossology\UI\Api\Models\Findings:
Collaboration graph

Public Member Functions

 __construct ($scanner=null, $conclusion=null, $copyright=null)
 
 getScanner ()
 
 getConclusion ()
 
 getCopyright ()
 
 setScanner ($scanner)
 
 setConclusion ($conclusion)
 
 setCopyright ($copyright)
 
 getArray ()
 

Private Attributes

 $scanner
 
 $conclusion
 
 $copyright
 

Detailed Description

Model holding information about license findings and conclusions.

Definition at line 17 of file Findings.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Findings::__construct (   $scanner = null,
  $conclusion = null,
  $copyright = null 
)

Findings constructor.

Parameters
array$scannerLicenses found by scanners
array$conclusionLicenses concluded by users
array$copyrightCopyright for the file

Definition at line 45 of file Findings.php.

Member Function Documentation

◆ getArray()

Fossology\UI\Api\Models\Findings::getArray ( )

Get the object as associative array

Returns
array

Definition at line 123 of file Findings.php.

◆ getConclusion()

Fossology\UI\Api\Models\Findings::getConclusion ( )
Returns
array

Definition at line 63 of file Findings.php.

◆ getCopyright()

Fossology\UI\Api\Models\Findings::getCopyright ( )
Returns
array

Definition at line 71 of file Findings.php.

◆ getScanner()

Fossology\UI\Api\Models\Findings::getScanner ( )
Returns
array

Definition at line 55 of file Findings.php.

◆ setConclusion()

Fossology\UI\Api\Models\Findings::setConclusion (   $conclusion)
Parameters
array$conclusion

Definition at line 93 of file Findings.php.

◆ setCopyright()

Fossology\UI\Api\Models\Findings::setCopyright (   $copyright)
Parameters
array$copyright

Definition at line 107 of file Findings.php.

◆ setScanner()

Fossology\UI\Api\Models\Findings::setScanner (   $scanner)
Parameters
array$scanner

Definition at line 79 of file Findings.php.

Member Data Documentation

◆ $conclusion

array Fossology\UI\Api\Models\Findings::$conclusion
private

List of user conclusions

Definition at line 30 of file Findings.php.

◆ $copyright

array Fossology\UI\Api\Models\Findings::$copyright
private

List of copyright

Definition at line 36 of file Findings.php.

◆ $scanner

array Fossology\UI\Api\Models\Findings::$scanner
private

List of scanner findings

Definition at line 24 of file Findings.php.


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