FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Util\CopyrightLister Class Reference
Collaboration diagram for Fossology\Lib\Util\CopyrightLister:
Collaboration graph

Public Member Functions

 setContainerInclusion ($includeContainer)
 
 setExcludingCopyright ($excludingCopyright)
 
 setIncludingCopyright ($includingCopyright)
 
 setType ($type)
 
 getCopyrightList ($itemId, $uploadId)
 

Private Member Functions

 selectAgentId ($uploadId)
 
 printRow ($row, $uploadtree_tablename, &$allCopyrightEntries, $parentId=0)
 write out text in format 'filepath: copyright list' More...
 

Private Attributes

 $dbManager
 
 $uploadDao
 
 $treeDao
 
 $copyrightDao
 
 $includeContainer = FALSE
 
 $excludingCopyright = -1
 
 $includingCopyright = -1
 
 $type = ""
 
 $agentId
 

Detailed Description

Definition at line 22 of file CopyrightLister.php.

Member Function Documentation

◆ getCopyrightList()

Fossology\Lib\Util\CopyrightLister::getCopyrightList (   $itemId,
  $uploadId 
)
Parameters
$itemId- uploadtree id
$uploadId- upload id

Definition at line 73 of file CopyrightLister.php.

◆ printRow()

Fossology\Lib\Util\CopyrightLister::printRow (   $row,
  $uploadtree_tablename,
$allCopyrightEntries,
  $parentId = 0 
)
private

write out text in format 'filepath: copyright list'

include and exclude together

no value set for -x and -X, show all files

both value from -x and -X are empty, unmeaningful, show all files

just show files without copyright no matter if excluding_copyright

just show files with copyright

include

exclude

Definition at line 123 of file CopyrightLister.php.

◆ selectAgentId()

Fossology\Lib\Util\CopyrightLister::selectAgentId (   $uploadId)
private
Parameters
int$uploadId
Returns
bool success

Definition at line 105 of file CopyrightLister.php.


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