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

Public Member Functions

 __construct (DbManager $dbManager)
 
 getFullPath ($itemId, $tableName, $parentId=0, $dropArtifactPrefix=false)
 
 getMinimalCoveringItem ($uploadId, $tableName)
 
 getItemHashes ($uploadtreeId, $uploadtreeTablename='uploadtree')
 
 getRepoPathOfPfile ($pfileId, $repo="files")
 
 getParentOfItem ($itemTreeBounds)
 

Private Attributes

 $dbManager
 
 $logger
 

Detailed Description

Definition at line 16 of file TreeDao.php.

Member Function Documentation

◆ getItemHashes()

Fossology\Lib\Dao\TreeDao::getItemHashes (   $uploadtreeId,
  $uploadtreeTablename = 'uploadtree' 
)
Parameters
int$uploadtreeId
Returns
array with keys sha1, md5, sha256

Definition at line 118 of file TreeDao.php.

◆ getParentOfItem()

Fossology\Lib\Dao\TreeDao::getParentOfItem (   $itemTreeBounds)

Get the parent item of a given uploadtree item

Parameters
ItemTreeBounds$itemTreeBoundsItem bounds to get parent for
Returns
integer Item id of parent

Definition at line 143 of file TreeDao.php.


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