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

Public Member Functions

 renderString ($templateName, $vars)
 
- 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 = "fileBrowse"
 
- 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)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Protected Attributes

 $agentNames = AgentRef::AGENT_LIST
 
- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Private Member Functions

 showUploadHist (ItemTreeBounds $itemTreeBounds)
 Given an $Uploadtree_pk, display: More...
 
 countFileListing (ItemTreeBounds $itemTreeBounds)
 

Private Attributes

 $uploadtree_tablename = ""
 
 $uploadDao
 
 $licenseDao
 
 $agentDao
 
 $licenseProjector
 

Detailed Description

Definition at line 28 of file ui-file-browse.php.

Member Function Documentation

◆ countFileListing()

ui_file_browse::countFileListing ( ItemTreeBounds  $itemTreeBounds)
private
Parameters
ItemTreeBounds$itemTreeBounds
Returns
array with keys 'isFlat','iTotalRecords','fileSwitch'

Definition at line 199 of file ui-file-browse.php.

◆ handle()

ui_file_browse::handle ( Request  $request)
protected
Parameters
Request$request
Returns
Response

Reimplemented from Fossology\Lib\Plugin\DefaultPlugin.

Definition at line 106 of file ui-file-browse.php.

◆ renderString()

ui_file_browse::renderString (   $templateName,
  $vars 
)
Parameters
string$templateName
array$vars
Returns
string

Definition at line 215 of file ui-file-browse.php.

◆ showUploadHist()

ui_file_browse::showUploadHist ( ItemTreeBounds  $itemTreeBounds)
private

Given an $Uploadtree_pk, display:

  • The histogram for the directory BY LICENSE.
  • The file listing for the directory.

Definition at line 155 of file ui-file-browse.php.


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