FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Ajax\AjaxBrowse Class Reference
Inheritance diagram for Fossology\UI\Ajax\AjaxBrowse:
Inheritance graph
Collaboration diagram for Fossology\UI\Ajax\AjaxBrowse:
Collaboration graph

Public Attributes

const NAME = "browse-processPost"
 
- 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 Member Functions

 handle (Request $request)
 Display the loaded menu and plugins.
 
 respondFolderGetTableData (Request $request)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Private Member Functions

 showRow ($row, Request $request, $uri, $menuPfile, $menuPfileNoCompare, $statusTypesAvailable, $users, $rowCounter)
 
 createSelectUsers ($selectElementName, $databaseMap, $selectedValue, $action="")
 
 createSelect ($id, $options, $select='', $action='')
 
 getListOfUploadsOfFolder (Request $request)
 
 getOrderString ()
 
 getSearchString ($searchPattern)
 
 getIntegerFilter ($var, $columnName)
 

Private Attributes

 $uploadDao
 
 $userDao
 
 $dbManager
 
 $dataTablesUtility
 
 $filterParams
 
 $userPerm
 
 $statusTypes
 

Additional Inherited Members

- 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 ()
 
- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Detailed Description

Definition at line 24 of file AjaxBrowse.php.

Member Function Documentation

◆ createSelectUsers()

Fossology\UI\Ajax\AjaxBrowse::createSelectUsers (   $selectElementName,
  $databaseMap,
  $selectedValue,
  $action = "" 
)
private
Parameters
string$selectElementName
array$databaseMap
int$selectedValue
Returns
array

Definition at line 236 of file AjaxBrowse.php.

◆ getIntegerFilter()

Fossology\UI\Ajax\AjaxBrowse::getIntegerFilter (   $var,
  $columnName 
)
private
Parameters
int$var
string$columnNamein database table

Definition at line 320 of file AjaxBrowse.php.

◆ getListOfUploadsOfFolder()

Fossology\UI\Ajax\AjaxBrowse::getListOfUploadsOfFolder ( Request  $request)
private
Parameters
Request$request
Returns
array

Definition at line 265 of file AjaxBrowse.php.

◆ respondFolderGetTableData()

Fossology\UI\Ajax\AjaxBrowse::respondFolderGetTableData ( Request  $request)
protected
Parameters
Request$request
Returns
JsonResponse

Definition at line 105 of file AjaxBrowse.php.

◆ showRow()

Fossology\UI\Ajax\AjaxBrowse::showRow (   $row,
Request  $request,
  $uri,
  $menuPfile,
  $menuPfileNoCompare,
  $statusTypesAvailable,
  $users,
  $rowCounter 
)
private
Parameters
array$rowfetched row
Request$request
$uri
$menuPfile
$menuPfileNoCompare
array$statusTypesAvailable
array$users
string(unique)
Returns
array

Definition at line 153 of file AjaxBrowse.php.


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