|
const | NAME = "ajax_explorer" |
|
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" |
|
|
| $agentNames = AgentRef::AGENT_LIST |
|
| $container |
|
| $renderer |
|
| $microMenu |
|
|
| createFileListing ($tagId, ItemTreeBounds $itemTreeBounds, &$UniqueTagArray, $selectedAgentId, $groupId, $scanJobProxy, $request) |
|
| updateTheFindingsAndDecisions ($agentIds, $isFlat, $groupId, &$editedMappedLicenses, $itemTreeBounds, $nameRange=array()) |
| Fetch the license findings and decisions. More...
|
|
| updateFilesToBeCleared ($isFlat, $itemTreeBounds) |
|
Definition at line 38 of file AjaxExplorer.php.
◆ createFileListing()
Fossology\UI\Ajax\AjaxExplorer::createFileListing |
( |
|
$tagId, |
|
|
ItemTreeBounds |
$itemTreeBounds, |
|
|
& |
$UniqueTagArray, |
|
|
|
$selectedAgentId, |
|
|
|
$groupId, |
|
|
|
$scanJobProxy, |
|
|
|
$request |
|
) |
| |
|
private |
- Parameters
-
| $tagId | |
ItemTreeBounds | $itemTreeBounds | |
| $UniqueTagArray | |
| $selectedAgentId | |
int | $groupId | |
ScanJobProxy | $scanJobProxy | |
Request | $request | |
- Returns
- array
change the license result when selecting one version of nomos
Definition at line 155 of file AjaxExplorer.php.
◆ handle()
Fossology\UI\Ajax\AjaxExplorer::handle |
( |
Request |
$request | ) |
|
◆ updateFilesToBeCleared()
Fossology\UI\Ajax\AjaxExplorer::updateFilesToBeCleared |
( |
|
$isFlat, |
|
|
|
$itemTreeBounds |
|
) |
| |
|
private |
Update filesThatShouldStillBeCleared and filesToBeCleared counts if the passed item has not been cached yet.
- Parameters
-
boolean | $isFlat | |
ItemTreeBounds | $itemTreeBounds | |
Definition at line 568 of file AjaxExplorer.php.
◆ updateTheFindingsAndDecisions()
Fossology\UI\Ajax\AjaxExplorer::updateTheFindingsAndDecisions |
( |
|
$agentIds, |
|
|
|
$isFlat, |
|
|
|
$groupId, |
|
|
& |
$editedMappedLicenses, |
|
|
|
$itemTreeBounds, |
|
|
|
$nameRange = array() |
|
) |
| |
|
private |
Fetch the license findings and decisions.
- Parameters
-
| array | $agentIds | Map of agents run on the upload (with agent name as key and id as value) |
| boolean | $isFlat | Is the flat view required? |
| integer | $groupId | The user group |
[in,out] | array | $editedMappedLicenses | Map of decisions |
| ItemTreeBounds | $itemTreeBounds | The current item tree bound |
| array | $nameRange | The name range for current view |
- Returns
- array Array of license findings mapped as
[pfile_id][license_id][agent_name] = license_findings
***** File Listing ***********
Definition at line 507 of file AjaxExplorer.php.
◆ $alreadyClearedUploadTreeView
UploadTreeProxy Fossology\UI\Ajax\AjaxExplorer::$alreadyClearedUploadTreeView |
|
private |
DB proxy view to hold upload tree entries for already cleared files
Definition at line 63 of file AjaxExplorer.php.
◆ $cacheClearedCounter
array Fossology\UI\Ajax\AjaxExplorer::$cacheClearedCounter |
|
private |
Array to hold item tree which are already calculated
Definition at line 71 of file AjaxExplorer.php.
◆ $noLicenseUploadTreeView
DB proxy view to hold upload tree entries for files with no license
Definition at line 66 of file AjaxExplorer.php.
The documentation for this class was generated from the following file: