|
const | SWH_STATUS_OK = 200 |
|
const | SWH_BAD_REQUEST = 400 |
|
const | SWH_NOT_FOUND = 404 |
|
const | SWH_RATELIMIT_EXCEED = 429 |
|
|
| $dbManager |
|
| $logger |
|
| $uploadDao |
|
Definition at line 18 of file SoftwareHeritageDao.php.
◆ getSoftwareHeritagePfileFk()
Fossology\Lib\Dao\SoftwareHeritageDao::getSoftwareHeritagePfileFk |
( |
|
$uploadId | ) |
|
Get all the pfile_fk stored in software heritage table.
- Parameters
-
- Returns
- array
Definition at line 45 of file SoftwareHeritageDao.php.
◆ getSoftwareHetiageRecord()
Fossology\Lib\Dao\SoftwareHeritageDao::getSoftwareHetiageRecord |
( |
|
$pfileId | ) |
|
Get a record from Software Heritage schema from the PfileId.
- Parameters
-
- Returns
- array
Definition at line 75 of file SoftwareHeritageDao.php.
◆ setSoftwareHeritageDetails()
Fossology\Lib\Dao\SoftwareHeritageDao::setSoftwareHeritageDetails |
( |
|
$pfileId, |
|
|
|
$licenseDetails, |
|
|
|
$status |
|
) |
| |
Store a record of Software Heritage license info in table.
- Parameters
-
Integer | $pfileId | |
String | $licenseDetails | |
- Returns
- bool
Definition at line 62 of file SoftwareHeritageDao.php.
The documentation for this class was generated from the following file: