FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
ReportStatic Class Reference

Handles static part of report. More...

Collaboration diagram for ReportStatic:
Collaboration graph

Public Member Functions

 __construct ($timeStamp)
 
 reportHeader (Section $section)
 Generates report header from Report Header Text More...
 
 reportFooter ($phpWord, Section $section, $otherStatement)
 Generates report footer. More...
 
 clearingProtocolChangeLogTable (Section $section)
 Generates clearing protocol change log table. More...
 
 addCheckBoxText ($cell, $value, $text)
 Check checkbox value(checked/unchecked) and append text. More...
 
 assessmentSummaryTable (Section $section, $otherStatement)
 Generate assessment summary table. More...
 
 todoTable (Section $section)
 Generate todo table. More...
 
 todoObliTable (Section $section, $obligations)
 Generate todo table for obligations. More...
 
 allLicensesWithAndWithoutObligations (Section $section, $heading, $obligations, $whiteLists, $titleSubHeadingObli)
 Generate table with all licenses. More...
 
 basicForClearingReport (Section $section)
 Generate basis for clearing report section. More...
 
 getNonFunctionalLicenses (Section $section, $heading)
 
 notes (Section $section, $heading, $subHeading)
 Generate notes. More...
 

Protected Member Functions

 reArrangeObligationText ($text)
 Get obligation text and re arrange them. More...
 

Private Attributes

 $timeStamp
 
 $subHeadingStyle
 
 $tablestyle
 

Detailed Description

Handles static part of report.

Definition at line 28 of file reportStatic.php.

Member Function Documentation

ReportStatic::addCheckBoxText (   $cell,
  $value,
  $text 
)

Check checkbox value(checked/unchecked) and append text.

Parameters
Cell$cell
string$value
string$text
Returns
checkbox with text

Definition at line 139 of file reportStatic.php.

ReportStatic::allLicensesWithAndWithoutObligations ( Section  $section,
  $heading,
  $obligations,
  $whiteLists,
  $titleSubHeadingObli 
)

Generate table with all licenses.

Parameters
Section$section
string$heading
array$obligations
array$whiteLists
string$titleSubHeadingObli

Definition at line 424 of file reportStatic.php.

ReportStatic::assessmentSummaryTable ( Section  $section,
  $otherStatement 
)

Generate assessment summary table.

Parameters
Section$section
string$otherStatement

Definition at line 158 of file reportStatic.php.

ReportStatic::basicForClearingReport ( Section  $section)

Generate basis for clearing report section.

Parameters
Section$section

Definition at line 457 of file reportStatic.php.

ReportStatic::clearingProtocolChangeLogTable ( Section  $section)

Generates clearing protocol change log table.

Parameters
Section$section

Definition at line 104 of file reportStatic.php.

ReportStatic::getNonFunctionalLicenses ( Section  $section,
  $heading 
)

Generate Heading for nonfunctional licenses

Parameters
Section$section
string$heading

Definition at line 517 of file reportStatic.php.

ReportStatic::notes ( Section  $section,
  $heading,
  $subHeading 
)

Generate notes.

Parameters
Section$section

Definition at line 532 of file reportStatic.php.

ReportStatic::reArrangeObligationText (   $text)
protected

Get obligation text and re arrange them.

Parameters
string$text
Returns
array $texts

Definition at line 262 of file reportStatic.php.

ReportStatic::reportFooter (   $phpWord,
Section  $section,
  $otherStatement 
)

Generates report footer.

Parameters
PhpWord$phpWord
Section$section
array$otherStatement

Definition at line 78 of file reportStatic.php.

ReportStatic::reportHeader ( Section  $section)

Generates report header from Report Header Text

Parameters
Section$section

Definition at line 62 of file reportStatic.php.

ReportStatic::todoObliTable ( Section  $section,
  $obligations 
)

Generate todo table for obligations.

Parameters
Section$section
array$obligations

Definition at line 366 of file reportStatic.php.

ReportStatic::todoTable ( Section  $section)

Generate todo table.

Parameters
Section$section

Definition at line 273 of file reportStatic.php.

Member Data Documentation

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

Sub heading style attributes

Definition at line 38 of file reportStatic.php.

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

Table style attributes

Definition at line 46 of file reportStatic.php.

int ReportStatic::$timeStamp
private

Report generation time stamp

Definition at line 33 of file reportStatic.php.


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