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
static $SEPARATOR Tab character. Some people's editors replace tabs with spaces so I'm scared to use actual tabs.
static $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 = array(), 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 59
__construct()

Class constructor.

at line 67
mixed export(array $exportParams)

Parameters

array $exportParams

Return Value

mixed

at line 84
output(string $fileName = NULL)

Parameters

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

at line 163
makeExport($export)

Parameters

$export

at line 329
string getMimeType()

Return Value

string

at line 336
string getFileExtension()

Return Value

string

static object getTemplate()

Return Value

object

assign($var, null $value = NULL)

Parameters

$var
null $value

at line 355
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 = array(), null $destination = NULL, bool $overwrite = FALSE)

Parameters

array $files
null $destination
bool $overwrite

Return Value

bool

at line 96
string putFile($out)

Parameters

$out

Return Value

string

at line 111
Object generateExportQuery(int $batchId)

Parameters

int $batchId

Return Value

Object

at line 314
exportACCNT()

at line 318
exportCUST()

at line 322
exportTRANS()

at line 343
string getHookedTemplateFileName()

Return Value

string