FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Controllers\FileInfoController Class Reference
Inheritance diagram for Fossology\UI\Api\Controllers\FileInfoController:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Controllers\FileInfoController:
Collaboration graph

Public Member Functions

 __construct ($container)
 
 getItemInfo ($request, $response, $args)
 

Private Attributes

 $viewInfo
 

Additional Inherited Members

- Protected Member Functions inherited from Fossology\UI\Api\Controllers\RestController
 getParsedBody (ServerRequestInterface $request)
 Parse request body as JSON and return associative PHP array. More...
 
 throwNotAdminException ()
 
 uploadAccessible ($id)
 
 isItemExists (int $uploadId, int $itemId)
 
- Protected Attributes inherited from Fossology\UI\Api\Controllers\RestController
 $container
 
 $restHelper
 
 $dbHelper
 

Detailed Description

Definition at line 23 of file FileInfoController.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Controllers\FileInfoController::__construct (   $container)

Constructor for base controller

Parameters
ContainerInterface$container

Reimplemented from Fossology\UI\Api\Controllers\RestController.

Definition at line 31 of file FileInfoController.php.

Member Function Documentation

◆ getItemInfo()

Fossology\UI\Api\Controllers\FileInfoController::getItemInfo (   $request,
  $response,
  $args 
)

File info for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 46 of file FileInfoController.php.

Member Data Documentation

◆ $viewInfo

ui_view_info Fossology\UI\Api\Controllers\FileInfoController::$viewInfo
private

View Info object

Definition at line 29 of file FileInfoController.php.


The documentation for this class was generated from the following file: