| package | Default | 
|---|---|
| inherited_from | \Gems\Export\ExportAbstract | 
addExport(array $data, array $modelId = false) 
arrayData submitted by export form
arrayModel Id when multiple models are passed
addNestedRows($rows, $nestedNames)
addRow(array $row, \Gems\Export\file $file)
| inherited_from | \Gems\Export\ExportAbstract::addRow() | 
|---|
arraya row in the model
\Gems\Export\fileThe already opened file
addRow(array $row, \Gems\Export\file $file)
arraya row in the model
\Gems\Export\fileThe already opened file
addRowWithCount(array $row, \Gems\Export\file $file, $rowNumber)
arraya row in the model
\Gems\Export\fileThe already opened file
addRows(array $data, array $modelId, string $tempFilename, array $filter)
| inherited_from | \Gems\Export\ExportAbstract::addRows() | 
|---|
arrayData submitted by export form
arrayModel Id when multiple models are passed
stringThe temporary filename while the file is being written
arrayFilter (limit) to use
addRows(array $data, array $modelId, string $tempFilename, array $filter)
arrayData submitted by export form
arrayModel Id when multiple models are passed
stringThe temporary filename while the file is being written
arrayFilter (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\Filewith 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\Filewith download headersfixName(string $input) : string
Should start with alphanum, and contain no spaces
string
stringformatString(\Gems\Export\type $input) : string
Example: This isn't hard to understand ==> 'This isn''t hard to understand'
\Gems\Export\type
stringgetDefaultFormValues() : array
arrayDefault values in formgetFormElements(\MUtil_Form $form, array $data) : array
\MUtil_FormCurrent form to add the form elements
arraycurrent options set in the form
arrayForm elementsgetLabeledColumns() : array
arrayArray of columnnamesgetName() : string
| inherited_from | \Gems\Export\ExportAbstract::getName() | 
|---|
stringname of the specific exportgetName() : string
stringname 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() | 
|---|
stringThe temporary filename while the file is being written
addHeader(string $filename)
stringThe temporary filename while the file is being written
cleanupName(string $filename) : string
stringProposed filename
stringfiltered filenamefilterDateFormat($value, $dateFormat, $columnName)
filterFormatFunction($value, $functionName)
filterHtml($result)
filterItemDisplay($value, $functionName)
filterMultiOptions($result, $multiOptions)
filterRow(array $row) : array
arraya row in the model
arrayThe filtered rowgetColumnHeaders()
getFiles() : array
arrayFiles arraygetModel() : \MUtil_Model_ModelAbstract
\MUtil_Model_ModelAbstractgetModelCount(array $filter = true) : integer
arrayFilter for the model
integerNumber 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