Method | Description | |
---|---|---|
__construct ( ) | ||
deleteExportById ( integer $id ) : boolean | Delete an export. | |
deleteExportFilesForForm ( |
Delete export files for a form. | |
deleteTempExportFiles ( ) : boolean | Delete temporarily created export files. | |
getAllExports ( ) : array | null | Get all exports. | |
getExportById ( integer $id ) : craft\AmForms_ExportModel | null | Get an export by its ID. | |
getExportFields ( |
Get export fields for a form. | |
getTempExportFiles ( array $exports = [] ) : boolean | array | Get temporarily created export files. | |
restartExport ( craft\AmForms_ExportModel $export ) | Restart an export. | |
runExport ( craft\AmForms_ExportModel $export, integer $limit = null, integer $offset = null ) : boolean | Run an export. | |
saveExport ( craft\AmForms_ExportModel $export ) : boolean | Save an export. | |
saveTotalByCriteria ( craft\AmForms_ExportModel $export ) | Save total submissions that meet the saved criteria. |
Method | Description | |
---|---|---|
_addExportCriteria ( craft\AmForms_ExportModel $export, &$criteria ) : boolean | Add export criteria. | |
_createExportFile ( craft\AmForms_ExportModel $export, |
Create an export file. | |
_exportSubmission ( craft\AmForms_ExportModel $export, mixed $submission, boolean $returnData = false ) | Export submission. | |
_exportSubmissionToZip ( craft\AmForms_ExportModel $export, craft\AmForms_SubmissionModel $submission ) | Export a submission to the export's zip file. | |
_getExportColumns ( craft\AmForms_ExportModel $export, |
Get export columns. | |
_getExportPath ( ) : string | Get export path. |
public deleteExportById ( integer $id ) : boolean | ||
$id | integer | |
return | boolean |
public deleteExportFilesForForm ( |
||
$form | ||
return | boolean |
public deleteTempExportFiles ( ) : boolean | ||
return | boolean |
public getAllExports ( ) : array | null | ||
return | array | null |
public getExportById ( integer $id ) : craft\AmForms_ExportModel | null | ||
$id | integer | |
return | craft\AmForms_ExportModel | null |
public getExportFields ( |
||
$form | ||
return | array |
public restartExport ( craft\AmForms_ExportModel $export ) | ||
$export | craft\AmForms_ExportModel |
public saveExport ( craft\AmForms_ExportModel $export ) : boolean | ||
$export | craft\AmForms_ExportModel | |
return | boolean |
public saveTotalByCriteria ( craft\AmForms_ExportModel $export ) | ||
$export | craft\AmForms_ExportModel |