FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Helper class to export obligations as a CSV. More...
Public Member Functions | |
__construct (DbManager $dbManager) | |
setDelimiter ($delimiter=',') | |
Update the delimiter. More... | |
setEnclosure ($enclosure='"') | |
Update the enclosure. More... | |
createCsv ($ob=0) | |
Create CSV from the obligations. More... | |
Protected Attributes | |
$dbManager | |
$delimiter = ',' | |
$enclosure = '"' | |
Helper class to export obligations as a CSV.
Definition at line 33 of file ObligationCsvExport.php.
Fossology\Lib\Application\ObligationCsvExport::__construct | ( | DbManager | $dbManager | ) |
Constructor
DbManager | $dbManager | DbManager to be used. |
Definition at line 49 of file ObligationCsvExport.php.
Fossology\Lib\Application\ObligationCsvExport::createCsv | ( | $ob = 0 | ) |
Create CSV from the obligations.
int | $rf | Obligation id to be returned, else set 0 to get all. |
Definition at line 78 of file ObligationCsvExport.php.
Fossology\Lib\Application\ObligationCsvExport::setDelimiter | ( | $delimiter = ',' | ) |
Update the delimiter.
string | $delimiter | New delimiter to use. |
Definition at line 59 of file ObligationCsvExport.php.
Fossology\Lib\Application\ObligationCsvExport::setEnclosure | ( | $enclosure = '"' | ) |
Update the enclosure.
string | $enclosure | New enclosure to use. |
Definition at line 68 of file ObligationCsvExport.php.
|
protected |
DB manager to be used
Definition at line 37 of file ObligationCsvExport.php.
|
protected |
Delimiter used in the CSV
Definition at line 40 of file ObligationCsvExport.php.
|
protected |
Ecnlosure used in the CSV
Definition at line 43 of file ObligationCsvExport.php.