FOSSology
4.4.0
Open Source License Compliance by Open Source Software
HelperToUploadFilePage.php
Go to the documentation of this file.
1
<?php
2
/*
3
SPDX-FileCopyrightText: © 2019 Siemens AG
4
Author: Gaurav Mishra <mishra.gaurav@siemens.com>
5
6
SPDX-License-Identifier: GPL-2.0-only
7
*/
8
13
namespace
Fossology\UI\Api\Helper\UploadHelper
;
14
15
use
Fossology\UI\Page\UploadFilePage
;
16
use Symfony\Component\HttpFoundation\Request;
17
22
class
HelperToUploadFilePage
extends
UploadFilePage
23
{
24
32
public
function
handleRequest
(Request $request)
33
{
34
$response = $this->
handleUpload
($request);
35
if
($response[0]) {
36
$response[3] = $response[3][0];
37
}
38
return
$response;
39
}
40
}
Fossology\UI\Api\Helper\UploadHelper\HelperToUploadFilePage
Definition:
HelperToUploadFilePage.php:23
Fossology\UI\Api\Helper\UploadHelper\HelperToUploadFilePage\handleRequest
handleRequest(Request $request)
Definition:
HelperToUploadFilePage.php:32
Fossology\UI\Page\UploadFilePage
Upload a file from the users computer using the UI.
Definition:
UploadFilePage.php:22
Fossology\UI\Page\UploadFilePage\handleUpload
handleUpload(Request $request)
Process the upload request.
Definition:
UploadFilePage.php:51
Fossology\UI\Api\Helper\UploadHelper
Definition:
HelperToUploadFilePage.php:13
src
www
ui
api
Helper
UploadHelper
HelperToUploadFilePage.php
Generated on Mon Nov 18 2024 07:37:14 for FOSSology by
1.9.1