|
|
const | NAME = "upload_file" |
| |
|
const | FOLDER_PARAMETER_NAME = 'folder' |
| |
|
const | DESCRIPTION_INPUT_NAME = 'descriptionInputName' |
| |
|
const | DESCRIPTION_VALUE = 'descriptionValue' |
| |
|
const | UPLOAD_FORM_BUILD_PARAMETER_NAME = 'uploadformbuild' |
| |
|
const | PUBLIC_ALL = 'public' |
| |
|
const | PUBLIC_GROUPS = 'protected' |
| |
|
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" |
| |
|
|
| handleUpload (Request $request) |
| |
|
| handleView (Request $request, $vars) |
| |
|
| handle (Request $request) |
| |
|
| postUploadAddJobs (Request $request, $fileName, $uploadId, $jobId=null, $wgetDependency=false) |
| |
| | path_can_escape ($path) |
| | checks, whether a path contains substrings, which could enable it to escape his prefix More...
|
| |
|
| RegisterMenus () |
| | Customize submenus.
|
| |
| | handle (Request $request) |
| |
| | render ($templateName, $vars=null, $headers=null) |
| |
| | getDefaultHeaders () |
| |
| | getDefaultVars () |
| |
|
| mergeWithDefault ($vars) |
| |
|
| flushContent ($content) |
| |
|
|
| $folderDao |
| |
|
| $uploadDao |
| |
|
| $logger |
| |
|
|
| $container |
| |
|
| $renderer |
| |
|
| $microMenu |
| |
Definition at line 30 of file UploadPageBase.php.
| Fossology\UI\Page\UploadPageBase::normalize_path |
( |
|
$path, |
|
|
|
$host = "localhost", |
|
|
|
$appendix = "" |
|
) |
| |
normalizes an path and returns FALSE on errors
- Parameters
-
| $path | - the path to normalize |
| $appendix | - optional parameter, which is used for the recursive call |
- Returns
- normalized path on success FALSE on error
Definition at line 214 of file UploadPageBase.php.
| Fossology\UI\Page\UploadPageBase::path_can_escape |
( |
|
$path | ) |
|
|
protected |
checks, whether a path contains substrings, which could enable it to escape his prefix
- Parameters
-
- Returns
- boolean
Definition at line 198 of file UploadPageBase.php.
| Fossology\UI\Page\UploadPageBase::path_is_pattern |
( |
|
$path | ) |
|
checks, whether a path is a pattern from the perspective of a shell
- Parameters
-
- Returns
- boolean
Definition at line 182 of file UploadPageBase.php.
| Fossology\UI\Page\UploadPageBase::rearrangeDependencies |
( |
& |
$parmList | ) |
|
|
private |
Make sure reuser is scheduled before decider so decider does not run another reuser as dependency
- Parameters
-
| [in,out] | array | $parmList | List of parameterized agents |
Definition at line 264 of file UploadPageBase.php.
| Fossology\UI\Page\UploadPageBase::str_contains_notescaped_char |
( |
|
$str, |
|
|
|
$char |
|
) |
| |
checks, whether a string contains some special character without escaping
- Parameters
-
| $str | - the string to check |
| $char | - the character to search for |
- Returns
- boolean
Definition at line 157 of file UploadPageBase.php.
The documentation for this class was generated from the following file: