FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ReportSummary Class Reference

Handles report summary. More...

Collaboration diagram for ReportSummary:
Collaboration graph

Public Member Functions

 summaryTable (Section $section, $uploadId, $userName, $mainLicenses, $licenses, $histLicenses, $otherStatement, $timestamp, $groupName, $packageUri, $assignedToUserName)
 Design the summaryTable of the report. More...
 

Private Member Functions

 accumulateLicenses ($licenses)
 Remove the duplicate licenses. More...
 

Private Attributes

 $uploadDao
 
 $tablestyle
 
 $subHeadingStyle
 

Detailed Description

Handles report summary.

Definition at line 18 of file reportSummary.php.

Member Function Documentation

◆ accumulateLicenses()

ReportSummary::accumulateLicenses (   $licenses)
private

Remove the duplicate licenses.

Parameters
array$licenses,.
Returns
string Comma separated license shortname.

Definition at line 55 of file reportSummary.php.

◆ summaryTable()

ReportSummary::summaryTable ( Section  $section,
  $uploadId,
  $userName,
  $mainLicenses,
  $licenses,
  $histLicenses,
  $otherStatement,
  $timestamp,
  $groupName,
  $packageUri,
  $assignedToUserName 
)

Design the summaryTable of the report.

Parameters
Section$section
int$uploadId
string$userName
array$mainLicenses
array$licenses
array$histLicenses
string$otherStatement
int$timestamp
string$groupName
string$packageUri
$assignedToUserName

Definition at line 82 of file reportSummary.php.

Member Data Documentation

◆ $subHeadingStyle

array ReportSummary::$subHeadingStyle
private
Initial value:
= array("size" => 9,
"align" => "center",
"bold" => true
)

Sub heading style attributes

Definition at line 39 of file reportSummary.php.

◆ $tablestyle

array ReportSummary::$tablestyle
private
Initial value:
= array("borderSize" => 2,
"name" => "Arial",
"borderColor" => "000000",
"cellSpacing" => 5,
"alignment" => JcTable::START,
"layout" => Table::LAYOUT_FIXED
)

Table style attributes

Definition at line 28 of file reportSummary.php.

◆ $uploadDao

UploadDao ReportSummary::$uploadDao
private

UploadDao object

Definition at line 23 of file reportSummary.php.


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