FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Controllers\FolderController Class Reference

Controller for Folder model. More...

Inheritance diagram for Fossology\UI\Api\Controllers\FolderController:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Controllers\FolderController:
Collaboration graph

Public Member Functions

 getFolders ($request, $response, $args)
 
 createFolder ($request, $response, $args)
 
 deleteFolder ($request, $response, $args)
 
 editFolder ($request, $response, $args)
 
 copyFolder ($request, $response, $args)
 
- Public Member Functions inherited from Fossology\UI\Api\Controllers\RestController
 __construct ($container)
 

Additional Inherited Members

- Protected Attributes inherited from Fossology\UI\Api\Controllers\RestController
 $container
 
 $restHelper
 
 $dbHelper
 

Detailed Description

Controller for Folder model.

Definition at line 37 of file FolderController.php.

Member Function Documentation

Fossology\UI\Api\Controllers\FolderController::copyFolder (   $request,
  $response,
  $args 
)

Copy/move the folder

Parameters
ServerRequestInterface$request
ResponseInterface$response
array$args
Returns
ResponseInterface

Definition at line 208 of file FolderController.php.

Fossology\UI\Api\Controllers\FolderController::createFolder (   $request,
  $response,
  $args 
)

Create a new folder

Parameters
ServerRequestInterface$request
ResponseInterface$response
array$args
Returns
ResponseInterface

Definition at line 99 of file FolderController.php.

Fossology\UI\Api\Controllers\FolderController::deleteFolder (   $request,
  $response,
  $args 
)

Delete a folder all sub-folders and uploads within the folder

Parameters
ServerRequestInterface$request
ResponseInterface$response
array$args
Returns
ResponseInterface

Definition at line 141 of file FolderController.php.

Fossology\UI\Api\Controllers\FolderController::editFolder (   $request,
  $response,
  $args 
)

Change the description/name of the folder

Parameters
ServerRequestInterface$request
ResponseInterface$response
array$args
Returns
ResponseInterface

Definition at line 179 of file FolderController.php.

Fossology\UI\Api\Controllers\FolderController::getFolders (   $request,
  $response,
  $args 
)

Get all folders accessible by the user

Parameters
ServerRequestInterface$request
ResponseInterface$response
array$args
Returns
ResponseInterface

Definition at line 48 of file FolderController.php.


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