Definition at line 25 of file File.php.
Fossology\UI\Api\Models\File::__construct |
( |
|
$filename, |
|
|
|
$contentType, |
|
|
|
$fileContent |
|
) |
| |
File constructor.
- Parameters
-
string | $filename | |
string | $contentType | |
string | $fileContent | |
Definition at line 49 of file File.php.
Fossology\UI\Api\Models\File::getArray |
( |
| ) |
|
Get the file element as associative array
- Returns
- array
Definition at line 94 of file File.php.
Fossology\UI\Api\Models\File::getContentType |
( |
| ) |
|
- Returns
- string
Definition at line 69 of file File.php.
Fossology\UI\Api\Models\File::getFileContent |
( |
| ) |
|
- Returns
- string
Definition at line 77 of file File.php.
Fossology\UI\Api\Models\File::getFilename |
( |
| ) |
|
- Returns
- string
Definition at line 61 of file File.php.
Fossology\UI\Api\Models\File::getJSON |
( |
| ) |
|
- Returns
- string json
Definition at line 85 of file File.php.
string File::$contentType |
|
private |
HTTP Content-Type header string for current file
Definition at line 36 of file File.php.
string File::$fileContent |
|
private |
Current file name
Definition at line 31 of file File.php.
The documentation for this class was generated from the following file: