CRM_Financial_BAO_ExportFormat
abstract class CRM_Financial_BAO_ExportFormat
Base class for Export Formats Create a subclass for a specific format.
Properties
protected array | $_exportParams | data which the individual export formats will output in the desired format. | |
static protected CRM_Core_Smarty | $_template | smarty template. | |
bool | $_isDownloadFile | Download Exported file. |
Methods
Class constructor.
Override to assemble the appropriate subset of financial data for the specific export format.
Exports sbatches in $this->_batchIds, and saves to file.
Abstract function that generates exports, and downloads them as zip file.
No description
Returns some kind of identification for your export format.
No description
No description
No description
No description
No description
No description
Details
at line 62
__construct()
Class constructor.
at line 74
mixed
export(array $exportParams)
Override to assemble the appropriate subset of financial data for the specific export format.
at line 84
output(string $fileName = NULL)
Exports sbatches in $this->_batchIds, and saves to file.
at line 94
abstract
makeExport($exportDaos)
Abstract function that generates exports, and downloads them as zip file.
at line 99
string
getMimeType()
at line 111
abstract string
getFileExtension()
Returns some kind of identification for your export format.
This does not really has to be a file extension, you can name your file as you wish as you override output.