FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Model to hold search results. More...
Public Member Functions | |
__construct ($upload, $uploadTreeId, $filename) | |
getJSON () | |
getArray () | |
Private Attributes | |
$upload | |
$uploadTreeId | |
$filename | |
Model to hold search results.
Definition at line 18 of file SearchResult.php.
Fossology\UI\Api\Models\SearchResult::__construct | ( | $upload, | |
$uploadTreeId, | |||
$filename | |||
) |
SearchResult constructor.
Upload | $upload | |
integer | $uploadTreeId | |
string | $filename |
Definition at line 42 of file SearchResult.php.
Fossology\UI\Api\Models\SearchResult::getArray | ( | ) |
Get Search result element as an associative array
Definition at line 62 of file SearchResult.php.
Fossology\UI\Api\Models\SearchResult::getJSON | ( | ) |
|
private |
File name of current result
Definition at line 34 of file SearchResult.php.
|
private |
Upload object from the search
Definition at line 24 of file SearchResult.php.
|
private |
Upload tree id of current result
Definition at line 29 of file SearchResult.php.