class CRM_Financial_BAO_ExportFormat_IIF 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 string $SEPARATOR Tab character. Some people's editors replace tabs with spaces so I'm scared to use actual tabs.
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)

No description

makeExport($export)

No description

string
getMimeType()

No description

string
getFileExtension()

No description

static object
getTemplate()

No description

assign($var, null $value = NULL)

No description

static null
format($s, string $type = 'string')

No description

static 
createActivityExport($batchIds, string $fileName)

No description

bool
createZip(array $files = [], null $destination = NULL, bool $overwrite = FALSE)

No description

string
putFile($out)

No description

Object
generateExportQuery(int $batchId)

No description

exportACCNT()

No description

exportCUST()

No description

exportTRANS()

No description

string
getHookedTemplateFileName()

No description

Details

at line 61
__construct()

Class constructor.

at line 69
mixed export(array $exportParams)

Parameters

array $exportParams

Return Value

mixed

at line 86
output(string $fileName = NULL)

Parameters

string $fileName
  • use this file name (if applicable)

at line 165
makeExport($export)

Parameters

$export

at line 330
string getMimeType()

Return Value

string

at line 337
string getFileExtension()

Return Value

string

static object getTemplate()

Return Value

object

assign($var, null $value = NULL)

Parameters

$var
null $value

at line 356
static null format($s, string $type = 'string')

Parameters

$s
string $type

Return Value

null

initiateDownload()

static createActivityExport($batchIds, string $fileName)

Parameters

$batchIds
string $fileName

Exceptions

CRM_Core_Exception

bool createZip(array $files = [], null $destination = NULL, bool $overwrite = FALSE)

Parameters

array $files
null $destination
bool $overwrite

Return Value

bool

at line 98
string putFile($out)

Parameters

$out

Return Value

string

at line 113
Object generateExportQuery(int $batchId)

Parameters

int $batchId

Return Value

Object

at line 315
exportACCNT()

at line 319
exportCUST()

at line 323
exportTRANS()

at line 344
string getHookedTemplateFileName()

Return Value

string