FOSSology  3.2.0rc1
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)
 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 26 of file reportSummary.php.

Member Function Documentation

ReportSummary::accumulateLicenses (   $licenses)
private

Remove the duplicate licenses.

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

Definition at line 61 of file reportSummary.php.

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

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

Definition at line 86 of file reportSummary.php.

Member Data Documentation

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

Sub heading style attributes

Definition at line 45 of file reportSummary.php.

array ReportSummary::$tablestyle
private
Initial value:
= array("borderSize" => 2,
"name" => "Arial",
"borderColor" => "000000",
"cellSpacing" => 5
)

Table style attributes

Definition at line 36 of file reportSummary.php.

UploadDao ReportSummary::$uploadDao
private

UploadDao object

Definition at line 31 of file reportSummary.php.


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