|
const | OUTPUT_FORMAT_KEY = "outputFormat" |
|
const | DEFAULT_OUTPUT_FORMAT = "clixml" |
|
const | AVAILABLE_OUTPUT_FORMATS = "xml" |
|
const | UPLOAD_ADDS = "uploadsAdd" |
|
|
| preWorkOnArgsFlp ($args, $key1, $key2) |
|
| preWorkOnArgs ($args) |
|
| getTemplateFile ($partname) |
|
| getUri ($fileBase) |
|
| renderPackage ($uploadId, $groupId) |
|
| removeDuplicateAcknowledgements ($licenses, &$countAcknowledgement, $includeAcknowledgements) |
|
| riskMapping ($licenseContent) |
|
| reArrangeMainLic ($contents, $includeAcknowledgements) |
|
| reArrangeContent ($contents) |
|
| computeUri ($uploadId) |
|
| writeReport ($contents, $packageIds, $uploadId) |
|
| updateReportTable ($uploadId, $jobId, $fileName) |
|
| renderString ($templateName, $vars) |
|
|
static | heartbeat_handler ($signo) |
| Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More...
|
|
Definition at line 26 of file clixml.php.
◆ addLicenseNames()
Fossology\CliXml\CliXml::addLicenseNames |
( |
|
$licenses | ) |
|
|
private |
Add license shortname to the list of license statements.
- Parameters
-
array | $licenses | License statements from |
- Returns
- array License statements with name filed
Definition at line 606 of file clixml.php.
◆ getReportSummary()
Fossology\CliXml\CliXml::getReportSummary |
( |
|
$uploadId | ) |
|
|
private |
Generate the GeneralInformation and AssessmentSummary components for the report.
- Parameters
-
- Returns
- array First element as associative array for GeneralInformation and second as associative array for AssessmentSummary
Definition at line 517 of file clixml.php.
◆ preWorkOnArgs()
Fossology\CliXml\CliXml::preWorkOnArgs |
( |
|
$args | ) |
|
|
protected |
- Parameters
-
- Returns
- string[] $args
Definition at line 122 of file clixml.php.
◆ preWorkOnArgsFlp()
Fossology\CliXml\CliXml::preWorkOnArgsFlp |
( |
|
$args, |
|
|
|
$key1, |
|
|
|
$key2 |
|
) |
| |
|
protected |
- Parameters
-
string[] | $args | |
string | $key1 | |
string | $key2 | |
- Returns
- string[] $args
Definition at line 106 of file clixml.php.
◆ processUploadId()
Fossology\CliXml\CliXml::processUploadId |
( |
|
$uploadId | ) |
|
Given an upload ID, process the items in it.
This function is implemented by agent and should call heartbeat() at regular intervals.
- Parameters
-
int | $uploadId | Upload to be processed by the agent. |
- Returns
- bool Process status
Reimplemented from Fossology\Lib\Agent\Agent.
Definition at line 137 of file clixml.php.
◆ renderString()
Fossology\CliXml\CliXml::renderString |
( |
|
$templateName, |
|
|
|
$vars |
|
) |
| |
|
protected |
- Parameters
-
string | $templateName | |
array | $vars | |
- Returns
- string
Definition at line 505 of file clixml.php.
◆ $cpClearedGetter
Copyright clearance object
Definition at line 55 of file clixml.php.
◆ $eccClearedGetter
ECC clearance object
Definition at line 65 of file clixml.php.
◆ $ipraClearedGetter
IPRA clearance object
Definition at line 60 of file clixml.php.
◆ $licenseDNUGetter
LicenseDNUGetter object
Definition at line 69 of file clixml.php.
The documentation for this class was generated from the following file: