CRM_Financial_BAO_ExportFormat_CSV
class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
Properties
protected array | $_exportParams | data which the individual export formats will output in the desired format. | from CRM_Financial_BAO_ExportFormat |
static protected CRM_Core_Smarty | $_template | smarty template. | from CRM_Financial_BAO_ExportFormat |
bool | $_isDownloadFile | Download Exported file. | from CRM_Financial_BAO_ExportFormat |
static array | $complementaryTables | For this phase, we always output these records too so that there isn't data referenced in the journal entries that isn't defined anywhere. |
Methods
__construct()
Class constructor.
mixed
export(array $exportParams)
No description
output(string $fileName = NULL)
Exports sbatches in $this->_batchIds, and saves to file.
makeExport(array $export)
Generate CSV array for export.
string
getFileExtension()
No description
static
createActivityExport($batchIds, string $fileName)
No description
bool
createZip(array $files = [], null $destination = NULL, bool $overwrite = FALSE)
No description
Object
generateExportQuery(int $batchId)
No description
string
putFile($export)
No description
array
formatHeaders(array $values)
Format table headers.
exportACCNT()
No description
exportCUST()
No description
exportTRANS()
No description
Details
at line 54
__construct()
Class constructor.
at line 61
mixed
export(array $exportParams)
in CRM_Financial_BAO_ExportFormat at line 84
output(string $fileName = NULL)
Exports sbatches in $this->_batchIds, and saves to file.
at line 178
makeExport(array $export)
Generate CSV array for export.
in CRM_Financial_BAO_ExportFormat at line 99
string
getMimeType()
at line 242
string
getFileExtension()
in CRM_Financial_BAO_ExportFormat at line 116
static object
getTemplate()
in CRM_Financial_BAO_ExportFormat at line 124
assign($var, null $value = NULL)
in CRM_Financial_BAO_ExportFormat at line 141
static null
format($s, string $type = 'string')
in CRM_Financial_BAO_ExportFormat at line 150
initiateDownload()
in CRM_Financial_BAO_ExportFormat at line 188
static
createActivityExport($batchIds, string $fileName)
in CRM_Financial_BAO_ExportFormat at line 238
bool
createZip(array $files = [], null $destination = NULL, bool $overwrite = FALSE)
at line 80
Object
generateExportQuery(int $batchId)
at line 138
string
putFile($export)
at line 162
array
formatHeaders(array $values)
Format table headers.