FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Handle file related queries. More...
Public Member Functions | |
__construct (PfileDao $pfileDao) | |
getPfile ($hash) | |
pfileScannerFindings ($pfileId) | |
pfileConclusions ($groupId, $pfileId) | |
getPackageUpload ($pfileId) | |
pfileCopyright ($pfileId) | |
Private Attributes | |
$pfileDao | |
Handle file related queries.
Definition at line 22 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::__construct | ( | PfileDao | $pfileDao | ) |
Constructor for FileHelper
PfileDao | $pfileDao |
Definition at line 35 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::getPackageUpload | ( | $pfileId | ) |
Get the uploads where the pfile was uploaded as package
integer | $pfileId | Pfileid to search from |
Definition at line 85 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::getPfile | ( | $hash | ) |
Get the pfile info for given Hash
Hash | $hash | Hash to get pfile info from |
Definition at line 47 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::pfileConclusions | ( | $groupId, | |
$pfileId | |||
) |
Get the conclusions for given pfile done by given group
integer | $groupId | Group to filter conclusions from |
integer | $pfileId | Pfile to get conclusions for |
Definition at line 73 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::pfileCopyright | ( | $pfileId | ) |
Get the copyright for given pfile
integer | $pfileId | PfileId to get copyright for |
Definition at line 97 of file FileHelper.php.
Fossology\UI\Api\Helper\FileHelper::pfileScannerFindings | ( | $pfileId | ) |
Get the scanner findings for given pfile
integer | $pfileId | PfileId to get licenses from |
Definition at line 60 of file FileHelper.php.
|
private |
Pfile Dao object
Definition at line 28 of file FileHelper.php.