![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Model class to hold Upload info. More...

Public Member Functions | |
| __construct ($folderId, $folderName, $uploadId, $description, $uploadName, $uploadDate, $fileSize, $fileSha1, $tag=NULL) | |
| getJSON () | |
| getArray () | |
Private Attributes | |
| $folderId | |
| $folderName | |
| $uploadId | |
| $description | |
| $uploadName | |
| $uploadDate | |
| $fileSize | |
| $fileSha1 | |
Model class to hold Upload info.
Definition at line 28 of file Upload.php.
| Fossology\UI\Api\Models\Upload::__construct | ( | $folderId, | |
| $folderName, | |||
| $uploadId, | |||
| $description, | |||
| $uploadName, | |||
| $uploadDate, | |||
| $fileSize, | |||
| $fileSha1, | |||
$tag = NULL |
|||
| ) |
Upload constructor.
| integer | $folderId | |
| string | $folderName | |
| integer | $uploadId | |
| string | $description | |
| string | $uploadName | |
| string | $uploadDate | |
| integer | $fileSize | |
| string | $fileSha1 | |
| string | $tag |
Definition at line 82 of file Upload.php.
| Fossology\UI\Api\Models\Upload::getArray | ( | ) |
Get the upload element as an associative array
Definition at line 107 of file Upload.php.
| Fossology\UI\Api\Models\Upload::getJSON | ( | ) |
|
private |
Upload description
Definition at line 49 of file Upload.php.
|
private |
SHA1 checksum of the uploaded file
Definition at line 69 of file Upload.php.
|
private |
Upload size
Definition at line 64 of file Upload.php.
|
private |
Folder id holding the upload
Definition at line 34 of file Upload.php.
|
private |
Folder name holding the upload
Definition at line 39 of file Upload.php.
|
private |
Creation date of upload
Definition at line 59 of file Upload.php.
|
private |
Current upload id
Definition at line 44 of file Upload.php.
|
private |
Upload name
Definition at line 54 of file Upload.php.