Model to hold info required by Reuser agent.
More...
Model to hold info required by Reuser agent.
Definition at line 28 of file Reuser.php.
Fossology\UI\Api\Models\Reuser::__construct |
( |
|
$reuseUpload, |
|
|
|
$reuseGroup, |
|
|
|
$reuseMain = false , |
|
|
|
$reuseEnhanced = false |
|
) |
| |
Reuser constructor.
- Parameters
-
integer | $reuseUpload | |
integer | $reuseGroup | |
boolean | $reuseMain | |
boolean | $reuseEnhanced | |
- Exceptions
-
Definition at line 61 of file Reuser.php.
Fossology\UI\Api\Models\Reuser::getArray |
( |
| ) |
|
Get reuser info as an associative array
- Returns
- array
Definition at line 188 of file Reuser.php.
Fossology\UI\Api\Models\Reuser::getReuseEnhanced |
( |
| ) |
|
Fossology\UI\Api\Models\Reuser::getReuseGroup |
( |
| ) |
|
Fossology\UI\Api\Models\Reuser::getReuseMain |
( |
| ) |
|
Fossology\UI\Api\Models\Reuser::getReuseUpload |
( |
| ) |
|
Fossology\UI\Api\Models\Reuser::setReuseEnhanced |
( |
|
$reuseEnhanced | ) |
|
Fossology\UI\Api\Models\Reuser::setReuseGroup |
( |
|
$reuseGroup | ) |
|
Fossology\UI\Api\Models\Reuser::setReuseMain |
( |
|
$reuseMain | ) |
|
Fossology\UI\Api\Models\Reuser::setReuseUpload |
( |
|
$reuseUpload | ) |
|
Fossology\UI\Api\Models\Reuser::setUsingArray |
( |
|
$reuserArray | ) |
|
Set the values of Reuser based on associative array
- Parameters
-
array | $reuserArray | Associative boolean array |
- Returns
- Reuser Current object
- Exceptions
-
Definition at line 83 of file Reuser.php.
boolean Fossology\UI\Api\Models\Reuser::$reuseEnhanced |
|
private |
Use enhanced reuse
Definition at line 49 of file Reuser.php.
integer Fossology\UI\Api\Models\Reuser::$reuseGroup |
|
private |
Group id to reuse from
Definition at line 39 of file Reuser.php.
boolean Fossology\UI\Api\Models\Reuser::$reuseMain |
|
private |
Reuse main license
Definition at line 44 of file Reuser.php.
integer Fossology\UI\Api\Models\Reuser::$reuseUpload |
|
private |
The documentation for this class was generated from the following file: