![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Helper class to export license list as a CSV from the DB. More...

Public Member Functions | |
| __construct (DbManager $dbManager) | |
| setDelimiter ($delimiter=',') | |
| Update the delimiter. More... | |
| setEnclosure ($enclosure='"') | |
| Update the enclosure. More... | |
| createCsv ($rf=0) | |
| Create the CSV from the DB. More... | |
Protected Attributes | |
| $dbManager | |
| $delimiter = ',' | |
| $enclosure = '"' | |
Helper class to export license list as a CSV from the DB.
Definition at line 33 of file LicenseCsvExport.php.
| Fossology\Lib\Application\LicenseCsvExport::__construct | ( | DbManager | $dbManager | ) |
Constructor
| DbManager | $dbManager | DB manager to use. |
Definition at line 49 of file LicenseCsvExport.php.
| Fossology\Lib\Application\LicenseCsvExport::createCsv | ( | $rf = 0 | ) |
Create the CSV from the DB.
| int | $rf | Set the license ID to get only one license, set 0 to get all |
Definition at line 77 of file LicenseCsvExport.php.
| Fossology\Lib\Application\LicenseCsvExport::setDelimiter | ( | $delimiter = ',' | ) |
Update the delimiter.
| string | $delimiter | New delimiter to use. |
Definition at line 58 of file LicenseCsvExport.php.
| Fossology\Lib\Application\LicenseCsvExport::setEnclosure | ( | $enclosure = '"' | ) |
Update the enclosure.
| string | $enclosure | New enclosure to use. |
Definition at line 67 of file LicenseCsvExport.php.
|
protected |
DB manager in use
Definition at line 37 of file LicenseCsvExport.php.
|
protected |
Delimiter for CSV
Definition at line 40 of file LicenseCsvExport.php.
|
protected |
Enclosure for CSV strings
Definition at line 43 of file LicenseCsvExport.php.