package | Default |
---|---|
inherited_from | \Gems\Export\ExportAbstract |
addExport(array $data, array $modelId = false
)
array
Data submitted by export form
array
Model Id when multiple models are passed
addNestedRows($rows, $nestedNames)
addRow(array $row, \Gems\Export\file $file)
inherited_from | \Gems\Export\ExportAbstract::addRow() |
---|
array
a row in the model
\Gems\Export\file
The already opened file
addRow(array $row, \Gems\Export\file $file)
array
a row in the model
\Gems\Export\file
The already opened file
addRowWithCount(array $row, \Gems\Export\file $file, $rowNumber)
array
a row in the model
\Gems\Export\file
The already opened file
addRows(array $data, array $modelId, string $tempFilename, array $filter)
inherited_from | \Gems\Export\ExportAbstract::addRows() |
---|
array
Data submitted by export form
array
Model Id when multiple models are passed
string
The temporary filename while the file is being written
array
Filter (limit) to use
addRows(array $data, array $modelId, string $tempFilename, array $filter)
array
Data submitted by export form
array
Model Id when multiple models are passed
string
The temporary filename while the file is being written
array
Filter (limit) to use
finalizeFiles() : \Gems\Export\File
If it has 1 file, it will return that file, if it has more, it will return a zip containing all the files, named as the first file in the array.
inherited_from | \Gems\Export\ExportAbstract::finalizeFiles() |
---|
\Gems\Export\File
with download headersfinalizeFiles() : \Gems\Export\File
If it has 1 file, it will return that file, if it has more, it will return a zip containing all the files, named as the first file in the array.
\Gems\Export\File
with download headersfixName(string $input) : string
Should start with alphanum, and contain no spaces
string
string
formatString(\Gems\Export\type $input) : string
Example: This isn't hard to understand ==> 'This isn''t hard to understand'
\Gems\Export\type
string
getDefaultFormValues() : array
array
Default values in formgetFormElements(\MUtil_Form $form, array $data) : array
\MUtil_Form
Current form to add the form elements
array
current options set in the form
array
Form elementsgetLabeledColumns() : array
array
Array of columnnamesgetName() : string
inherited_from | \Gems\Export\ExportAbstract::getName() |
---|
string
name of the specific exportgetName() : string
string
name of the specific exportsetBatch(\Gems_Task_TaskRunnerBatch $batch)
Use $this->hasBatch to check for existence
\Gems_Task_TaskRunnerBatch
addFile()
addHeader(string $filename)
inherited_from | \Gems\Export\ExportAbstract::addHeader() |
---|
string
The temporary filename while the file is being written
addHeader(string $filename)
string
The temporary filename while the file is being written
cleanupName(string $filename) : string
string
Proposed filename
string
filtered filenamefilterDateFormat($value, $dateFormat, $columnName)
filterFormatFunction($value, $functionName)
filterHtml($result)
filterItemDisplay($value, $functionName)
filterMultiOptions($result, $multiOptions)
filterRow(array $row) : array
array
a row in the model
array
The filtered rowgetColumnHeaders()
getFiles() : array
array
Files arraygetModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstract
getModelCount(array $filter = true
) : integer
array
Filter for the model
integer
Number of items in the modelpreprocessModel()
inherited_from | \Gems\Export\ExportAbstract::preprocessModel() |
---|
preprocessModel()
$loader : \Gems_Loader
$_session : \Zend_Session_Namespace
$batch : \Gems_Task_TaskRunnerBatch
$data : array
$defaultStringLength
100
$fileExtension : string
'.xml'
inherited_from | \Gems\Export\ExportAbstract::fileExtension |
---|
$fileExtension : string
$filename : string
$files : array
$filter : array
$firstRow : array
$maxStringLength
2045
$model : \MUtil_Model_ModelAbstract
$modelFilter : array
$modelFilterAttributes : array
array('formatFunction', 'dateFormat', 'storageFormat', 'itemDisplay')
inherited_from | \Gems\Export\ExportAbstract::modelFilterAttributes |
---|
$modelFilterAttributes : array
array('multiOptions', 'formatFunction', 'dateFormat', 'storageFormat', 'itemDisplay')
$modelId : integer
$rowsPerBatch : integer
100
inherited_from | \Gems\Export\ExportAbstract::rowsPerBatch |
---|
$rowsPerBatch : integer
500
$stataFileVersion
117
$tempFilename : string