Generates unified report.
More...
|
| documentSettingsAndStyles (PhpWord &$phpWord, $timestamp, $userName) |
| Setting default heading styles and paragraph styles. More...
|
|
| globalLicenseTable (Section $section, $mainLicenses, $titleSubHeading) |
| Generate global license table. More...
|
|
| bulkLicenseTable (Section $section, $title, $licenses, $titleSubHeading) |
| This function lists out the bulk licenses, comments of identified licenses. More...
|
|
| licensesTable (Section $section, $title, $licenses, $riskarray, $titleSubHeading) |
| This function lists out the red, white & yellow licenses. More...
|
|
| getRowsAndColumnsForCEI (Section $section, $title, $statementsCEI, $titleSubHeading, $text="") |
| Copyright or ecc table. More...
|
|
| getRowsAndColumnsForIrre (Section $section, $title, $licensesIrre, $titleSubHeading) |
| Irrelevant files in report. More...
|
|
| licenseHistogram (Section $section, $dataHistogram, $titleSubHeading) |
| License histogram into report. More...
|
|
| writeReport ($contents, $uploadId, $groupId, $userId) |
| Writes the report to a file. More...
|
|
| updateReportTable ($uploadId, $jobId, $filename) |
| Update database with generated report path. More...
|
|
Generates unified report.
Definition at line 125 of file unifiedreport.php.
UnifiedReport::bulkLicenseTable |
( |
Section |
$section, |
|
|
|
$title, |
|
|
|
$licenses, |
|
|
|
$titleSubHeading |
|
) |
| |
|
private |
This function lists out the bulk licenses, comments of identified licenses.
- Parameters
-
Section | $section | |
string | $title | |
array | $licenses | |
array | $titleSubHeading | |
Definition at line 447 of file unifiedreport.php.
UnifiedReport::documentSettingsAndStyles |
( |
PhpWord & |
$phpWord, |
|
|
|
$timestamp, |
|
|
|
$userName |
|
) |
| |
|
private |
Setting default heading styles and paragraph styles.
- Parameters
-
[in,out] | PhpWord | &$phpWord | PhpWord object |
| int | $timestamp | Report gen timestamp |
| string | $userName | User generating the report |
Definition at line 335 of file unifiedreport.php.
UnifiedReport::getRowsAndColumnsForCEI |
( |
Section |
$section, |
|
|
|
$title, |
|
|
|
$statementsCEI, |
|
|
|
$titleSubHeading, |
|
|
|
$text = "" |
|
) |
| |
|
private |
Copyright or ecc table.
- Parameters
-
Section | $section | |
string | $title | |
array | $statementsCEI | |
array | $titleSubHeading | |
string | $text | |
Definition at line 540 of file unifiedreport.php.
UnifiedReport::getRowsAndColumnsForIrre |
( |
Section |
$section, |
|
|
|
$title, |
|
|
|
$licensesIrre, |
|
|
|
$titleSubHeading |
|
) |
| |
|
private |
Irrelevant files in report.
- Parameters
-
Section | $section | |
string | $title | |
array | $licensesIrre | |
array | $titleSubHeading | |
Definition at line 587 of file unifiedreport.php.
UnifiedReport::globalLicenseTable |
( |
Section |
$section, |
|
|
|
$mainLicenses, |
|
|
|
$titleSubHeading |
|
) |
| |
|
private |
Generate global license table.
- Parameters
-
Section | $section | |
array | $mainLicenses | |
array | $titleSubHeading | |
Definition at line 394 of file unifiedreport.php.
UnifiedReport::licenseHistogram |
( |
Section |
$section, |
|
|
|
$dataHistogram, |
|
|
|
$titleSubHeading |
|
) |
| |
|
private |
License histogram into report.
- Parameters
-
Section | $section | |
array | $dataHistogram | |
array | $titleSubHeading | |
Definition at line 623 of file unifiedreport.php.
UnifiedReport::licensesTable |
( |
Section |
$section, |
|
|
|
$title, |
|
|
|
$licenses, |
|
|
|
$riskarray, |
|
|
|
$titleSubHeading |
|
) |
| |
|
private |
This function lists out the red, white & yellow licenses.
- Parameters
-
Section | $section | |
string | $title | |
array | $licenses | |
array | $riskarray | |
array | $titleSubHeading | |
Definition at line 490 of file unifiedreport.php.
UnifiedReport::processUploadId |
( |
|
$uploadId | ) |
|
UnifiedReport::updateReportTable |
( |
|
$uploadId, |
|
|
|
$jobId, |
|
|
|
$filename |
|
) |
| |
|
private |
Update database with generated report path.
- Parameters
-
int | $uploadId | |
int | $jobId | |
string | $filename | |
Definition at line 839 of file unifiedreport.php.
UnifiedReport::writeReport |
( |
|
$contents, |
|
|
|
$uploadId, |
|
|
|
$groupId, |
|
|
|
$userId |
|
) |
| |
|
private |
Writes the report to a file.
The file name is of format <packageName>_clearing_report_<D_M_d_m_Y_h_i_s>.docx
.
The docx format used is Word2007.
- Parameters
-
array | $contents | |
int | $uploadId | |
int | $groupId | |
int | $userId | |
Definition at line 655 of file unifiedreport.php.
cpClearedGetter UnifiedReport::$cpClearedGetter |
|
private |
eccClearedGetter UnifiedReport::$eccClearedGetter |
|
private |
array UnifiedReport::$filePathColumn |
|
private |
Initial value:= array("size" => "9",
"bold" => false
)
File path column style attributes
Definition at line 227 of file unifiedreport.php.
string UnifiedReport::$groupBy |
|
private |
array UnifiedReport::$licenseColumn |
|
private |
licenseIrrelevantCommentGetter UnifiedReport::$licenseIrrelevantCommentGetter |
|
private |
array UnifiedReport::$licenseTextColumn |
|
private |
Initial value:= array("name" => "Courier New",
"size" => 9,
"bold" => false
)
License column text style attributes
Definition at line 219 of file unifiedreport.php.
obligationsGetter UnifiedReport::$obligationsGetter |
|
private |
int UnifiedReport::$rowHeight = 500 |
|
private |
array UnifiedReport::$subHeadingStyle |
|
private |
Initial value:= array("size" => 9,
"align" => "center",
"bold" => true
)
Sub heading style attributes
Definition at line 204 of file unifiedreport.php.
array UnifiedReport::$tablestyle |
|
private |
Initial value:= array("borderSize" => 2,
"name" => "Arial",
"borderColor" => "000000",
"cellSpacing" => 5
)
Table style attributes
Definition at line 195 of file unifiedreport.php.
The documentation for this class was generated from the following file: