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

Public Member Functions

 __construct (DbManager $dbManager)
 
 GetResults ($Item, $Filename, $Upload, $tag, $Page, $Limit, $SizeMin, $SizeMax, $searchtype, $License, $Copyright, $uploadDao, $groupID)
 Given a filename, return all uploadtree. More...
 

Private Attributes

 $dbManager
 

Detailed Description

Definition at line 12 of file SearchHelperDao.php.

Member Function Documentation

◆ GetResults()

Fossology\Lib\Dao\SearchHelperDao::GetResults (   $Item,
  $Filename,
  $Upload,
  $tag,
  $Page,
  $Limit,
  $SizeMin,
  $SizeMax,
  $searchtype,
  $License,
  $Copyright,
  $uploadDao,
  $groupID 
)

Given a filename, return all uploadtree.

Parameters
$Itemint - uploadtree_pk of tree to search, if empty, do global search
$Filenamestring - filename or pattern to search for, false if unused
$tagstring - tag (or tag pattern mytag%) to search for, false if unused
$Pageint - display page number
$Limitint - size of the page
$SizeMinint - Minimum file size, -1 if unused
$SizeMaxint - Maximum file size, -1 if unused
$searchtype"containers", "directory" or "allfiles"
$Licensestring
$Copyrightstring
$uploadDao\Fossology\Lib\Dao\UploadDao
$groupIDint
Returns
array of uploadtree recs and total uploadtree recs count. Each record contains uploadtree_pk, parent, upload_fk, pfile_fk, ufile_mode, and ufile_name

license and copyright

Definition at line 42 of file SearchHelperDao.php.


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