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

Scancode model. More...

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

Public Member Functions

 __construct ($scanLicense=false, $scanCopyright=false, $scanEmail=false, $scanUrl=false)
 
 setUsingArray ($scancodeArray)
 
 getScanLicense ()
 
 getScanCopyright ()
 
 getScanEmail ()
 
 getScanUrl ()
 
 setScanLicense ($scanLicense)
 
 setScanCopyright ($scanCopyright)
 
 setScanEmail ($scanEmail)
 
 setScanUrl ($scanUrl)
 
 getArray ()
 

Private Attributes

 $scanLicense
 
 $scanCopyright
 
 $scanEmail
 
 $scanUrl
 

Detailed Description

Scancode model.

Definition at line 18 of file Scancode.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Scancode::__construct (   $scanLicense = false,
  $scanCopyright = false,
  $scanEmail = false,
  $scanUrl = false 
)

Scancode constructor.

Parameters
boolean$scanLicense
boolean$scanCopyright
boolean$scanEmail
boolean$scanUrl

Definition at line 45 of file Scancode.php.

Member Function Documentation

◆ getArray()

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

Get scancode as an array

Returns
array

Definition at line 149 of file Scancode.php.

◆ getScanCopyright()

Fossology\UI\Api\Models\Scancode::getScanCopyright ( )
Returns
boolean

Definition at line 91 of file Scancode.php.

◆ getScanEmail()

Fossology\UI\Api\Models\Scancode::getScanEmail ( )
Returns
boolean

Definition at line 99 of file Scancode.php.

◆ getScanLicense()

Fossology\UI\Api\Models\Scancode::getScanLicense ( )
Returns
boolean

Definition at line 83 of file Scancode.php.

◆ getScanUrl()

Fossology\UI\Api\Models\Scancode::getScanUrl ( )
Returns
boolean

Definition at line 107 of file Scancode.php.

◆ setScanCopyright()

Fossology\UI\Api\Models\Scancode::setScanCopyright (   $scanCopyright)
Parameters
boolean$scanCopyright

Definition at line 124 of file Scancode.php.

◆ setScanEmail()

Fossology\UI\Api\Models\Scancode::setScanEmail (   $scanEmail)
Parameters
boolean$scanEmail

Definition at line 132 of file Scancode.php.

◆ setScanLicense()

Fossology\UI\Api\Models\Scancode::setScanLicense (   $scanLicense)
Parameters
boolean$scanLicense

Definition at line 116 of file Scancode.php.

◆ setScanUrl()

Fossology\UI\Api\Models\Scancode::setScanUrl (   $scanUrl)
Parameters
boolean$scanUrl

Definition at line 140 of file Scancode.php.

◆ setUsingArray()

Fossology\UI\Api\Models\Scancode::setUsingArray (   $scancodeArray)

Set the values of Analysis based on associative array

Parameters
array$scancodeArrayAssociative boolean array
Returns
Scancode Current object

Definition at line 58 of file Scancode.php.


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