Model to hold info required by Reuser agent.
More...
Model to hold info required by Reuser agent.
Definition at line 17 of file Reuser.php.
◆ __construct()
Fossology\UI\Api\Models\Reuser::__construct |
( |
|
$reuseUpload, |
|
|
|
$reuseGroup, |
|
|
|
$reuseMain = false , |
|
|
|
$reuseEnhanced = false |
|
) |
| |
Reuser constructor.
- Parameters
-
integer | $reuseUpload | |
string | $reuseGroup | |
boolean | $reuseMain | |
boolean | $reuseEnhanced | |
- Exceptions
-
Definition at line 60 of file Reuser.php.
◆ getArray()
Fossology\UI\Api\Models\Reuser::getArray |
( |
|
$version = ApiVersion::V1 | ) |
|
Get reuser info as an associative array
- Returns
- array
Definition at line 228 of file Reuser.php.
◆ getReuseCopyright()
Fossology\UI\Api\Models\Reuser::getReuseCopyright |
( |
| ) |
|
◆ getReuseEnhanced()
Fossology\UI\Api\Models\Reuser::getReuseEnhanced |
( |
| ) |
|
◆ getReuseGroup()
Fossology\UI\Api\Models\Reuser::getReuseGroup |
( |
| ) |
|
◆ getReuseMain()
Fossology\UI\Api\Models\Reuser::getReuseMain |
( |
| ) |
|
◆ getReuseReport()
Fossology\UI\Api\Models\Reuser::getReuseReport |
( |
| ) |
|
◆ getReuseUpload()
Fossology\UI\Api\Models\Reuser::getReuseUpload |
( |
| ) |
|
◆ setReuseCopyright()
Fossology\UI\Api\Models\Reuser::setReuseCopyright |
( |
|
$reuseCopyright | ) |
|
◆ setReuseEnhanced()
Fossology\UI\Api\Models\Reuser::setReuseEnhanced |
( |
|
$reuseEnhanced | ) |
|
◆ setReuseGroup()
Fossology\UI\Api\Models\Reuser::setReuseGroup |
( |
|
$reuseGroup | ) |
|
◆ setReuseMain()
Fossology\UI\Api\Models\Reuser::setReuseMain |
( |
|
$reuseMain | ) |
|
◆ setReuseReport()
Fossology\UI\Api\Models\Reuser::setReuseReport |
( |
|
$reuseReport | ) |
|
◆ setReuseUpload()
Fossology\UI\Api\Models\Reuser::setReuseUpload |
( |
|
$reuseUpload | ) |
|
◆ setUsingArray()
Fossology\UI\Api\Models\Reuser::setUsingArray |
( |
|
$reuserArray, |
|
|
|
$version = ApiVersion::V1 |
|
) |
| |
Set the values of Reuser based on associative array
- Parameters
-
array | $reuserArray | Associative boolean array |
- Returns
- Reuser Current object
- Exceptions
-
Definition at line 84 of file Reuser.php.
◆ $reuseCopyright
boolean Fossology\UI\Api\Models\Reuser::$reuseCopyright |
|
private |
Use enhanced reuse
Definition at line 48 of file Reuser.php.
◆ $reuseEnhanced
boolean Fossology\UI\Api\Models\Reuser::$reuseEnhanced |
|
private |
Use enhanced reuse
Definition at line 38 of file Reuser.php.
◆ $reuseGroup
string Fossology\UI\Api\Models\Reuser::$reuseGroup |
|
private |
◆ $reuseMain
boolean Fossology\UI\Api\Models\Reuser::$reuseMain |
|
private |
Reuse main license
Definition at line 33 of file Reuser.php.
◆ $reuseReport
boolean Fossology\UI\Api\Models\Reuser::$reuseReport |
|
private |
Use enhanced reuse
Definition at line 43 of file Reuser.php.
◆ $reuseUpload
integer Fossology\UI\Api\Models\Reuser::$reuseUpload |
|
private |
The documentation for this class was generated from the following file: