FOSSology  4.4.0
Open Source License Compliance by Open Source Software
AjaxSHDetailsBrowser Class Reference
Inheritance diagram for AjaxSHDetailsBrowser:
Inheritance graph
Collaboration diagram for AjaxSHDetailsBrowser:
Collaboration graph

Public Member Functions

 handle (Request $request)
 
- Public Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 __construct ($name, $parameters=array())
 
 getName ()
 
 getVersion ()
 
 getTitle ()
 
 isRequiresLogin ()
 
 getDependency ()
 
 getPluginLevel ()
 
 getDBaccess ()
 
 getState ()
 
 getInitOrder ()
 
 getNoMenu ()
 
 getResponse ()
 
 getObject ($name)
 
 preInstall ()
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 

Public Attributes

const NAME = "ajax_sh_browser"
 
- Public Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
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"
 

Protected Attributes

 $agentNames = array('softwareHeritage' => 'SH')
 
- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Private Member Functions

 createFileListing ($tagId, ItemTreeBounds $itemTreeBounds, &$UniqueTagArray, $selectedAgentId, $groupId, $scanJobProxy, $request)
 
 createFileDataRow ($child, $uploadId, $selectedAgentId, $uri, &$UniqueTagArray, $isFlat)
 

Private Attributes

 $uploadtree_tablename = ""
 
 $uploadDao
 
 $licenseDao
 
 $agentDao
 
 $shDao
 
 $configuration
 

Additional Inherited Members

- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Detailed Description

Definition at line 22 of file AjaxSHDetailsBrowser.php.

Member Function Documentation

◆ createFileDataRow()

AjaxSHDetailsBrowser::createFileDataRow (   $child,
  $uploadId,
  $selectedAgentId,
  $uri,
$UniqueTagArray,
  $isFlat 
)
private
Parameters
array$child
int$uploadId
int$selectedAgentId
string$uri
array$UniqueTagArray
boolean$isFlat
Returns
array

Definition at line 232 of file AjaxSHDetailsBrowser.php.

◆ createFileListing()

AjaxSHDetailsBrowser::createFileListing (   $tagId,
ItemTreeBounds  $itemTreeBounds,
$UniqueTagArray,
  $selectedAgentId,
  $groupId,
  $scanJobProxy,
  $request 
)
private
Parameters
$tagId
ItemTreeBounds$itemTreeBounds
$UniqueTagArray
$selectedAgentId
int$groupId
ScanJobProxy$scanJobProxy
Returns
array

change the license result when selecting one version of nomos

Definition at line 116 of file AjaxSHDetailsBrowser.php.

◆ handle()

AjaxSHDetailsBrowser::handle ( Request  $request)
Parameters
Request$request
Returns
Response

Reimplemented from Fossology\Lib\Plugin\DefaultPlugin.

Definition at line 73 of file AjaxSHDetailsBrowser.php.

Member Data Documentation

◆ $configuration

array AjaxSHDetailsBrowser::$configuration
private

Configuration for software heritage api

Definition at line 42 of file AjaxSHDetailsBrowser.php.

◆ $shDao

SoftwareHeritageDao AjaxSHDetailsBrowser::$shDao
private

SoftwareHeritageDao object

Definition at line 37 of file AjaxSHDetailsBrowser.php.


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