UI plugin to delete uploaded files.
More...
|
const | NAME = "admin_upload_delete" |
|
const | PERMISSION = "permission" |
|
const | REQUIRES_LOGIN = "requiresLogin" |
|
const | ENABLE_MENU = "ENABLE_MENU" |
|
const | LEVEL = "level" |
|
const | DEPENDENCIES = "dependencies" |
|
const | INIT_ORDER = "initOrder" |
|
const | MENU_LIST = "menuList" |
|
const | MENU_ORDER = "menuOrder" |
|
const | MENU_TARGET = "menuTarget" |
|
const | TITLE = "title" |
|
|
| $container |
|
| $renderer |
|
| $microMenu |
|
UI plugin to delete uploaded files.
Definition at line 27 of file AdminUploadDelete.php.
◆ delete()
Fossology\DelAgent\UI\Page\AdminUploadDelete::delete |
( |
|
$uploadpk | ) |
|
|
private |
Delete a given upload.
- Parameters
-
int | $uploadpk | The upload(upload_id) you want to delete |
- Returns
- NULL on success, string on failure.
Definition at line 57 of file AdminUploadDelete.php.
◆ handle()
Fossology\DelAgent\UI\Page\AdminUploadDelete::handle |
( |
Request |
$request | ) |
|
|
protected |
◆ initDeletion()
Fossology\DelAgent\UI\Page\AdminUploadDelete::initDeletion |
( |
|
$uploadpks, |
|
|
|
$folderId |
|
) |
| |
|
private |
starts deletion and handles error messages
- Parameters
-
array | $uploadpks | Upload ids to be deleted |
int | $folderId | Id of folder containing uploads |
- Returns
- string Error or success message
Definition at line 128 of file AdminUploadDelete.php.
◆ TryToDelete()
Fossology\DelAgent\UI\Page\AdminUploadDelete::TryToDelete |
( |
|
$uploadpk, |
|
|
|
$folderId |
|
) |
| |
Given a folder_pk, try to add a job after checking permissions.
- Parameters
-
$uploadpk | The upload(upload_id) you want to delete |
$folderId | The folder(folder_id) containing the uploads |
- Returns
- string with the message.
Definition at line 171 of file AdminUploadDelete.php.
The documentation for this class was generated from the following file: