![]() |
FOSSology
4.6.0-rc1
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, $generateJson=false) | |
| Create CSV from the obligations. More... | |
Protected Attributes | |
| $dbManager | |
| $delimiter = ',' | |
| $enclosure = '"' | |
Helper class to export obligations as a CSV.
Definition at line 21 of file ObligationCsvExport.php.
| Fossology\Lib\Application\ObligationCsvExport::__construct | ( | DbManager | $dbManager | ) |
Constructor
| DbManager | $dbManager | DbManager to be used. |
Definition at line 37 of file ObligationCsvExport.php.
| Fossology\Lib\Application\ObligationCsvExport::createCsv | ( | $ob = 0, |
|
$generateJson = false |
|||
| ) |
Create CSV from the obligations.
| int | $ob | Obligation id to be returned, else set 0 to get all. |
Definition at line 66 of file ObligationCsvExport.php.
| Fossology\Lib\Application\ObligationCsvExport::setDelimiter | ( | $delimiter = ',' | ) |
Update the delimiter.
| string | $delimiter | New delimiter to use. |
Definition at line 47 of file ObligationCsvExport.php.
| Fossology\Lib\Application\ObligationCsvExport::setEnclosure | ( | $enclosure = '"' | ) |
Update the enclosure.
| string | $enclosure | New enclosure to use. |
Definition at line 56 of file ObligationCsvExport.php.
|
protected |
DB manager to be used
Definition at line 25 of file ObligationCsvExport.php.
|
protected |
Delimiter used in the CSV
Definition at line 28 of file ObligationCsvExport.php.
|
protected |
Ecnlosure used in the CSV
Definition at line 31 of file ObligationCsvExport.php.