Méthode | 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. |
Méthode | 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 | |
Résultat | boolean |
public deleteExportFilesForForm ( |
||
$form | ||
Résultat | boolean |
public deleteTempExportFiles ( ) : boolean | ||
Résultat | boolean |
public getAllExports ( ) : array | null | ||
Résultat | array | null |
public getExportById ( integer $id ) : craft\AmForms_ExportModel | null | ||
$id | integer | |
Résultat | craft\AmForms_ExportModel | null |
public getExportFields ( |
||
$form | ||
Résultat | array |
public restartExport ( craft\AmForms_ExportModel $export ) | ||
$export | craft\AmForms_ExportModel |
public saveExport ( craft\AmForms_ExportModel $export ) : boolean | ||
$export | craft\AmForms_ExportModel | |
Résultat | boolean |
public saveTotalByCriteria ( craft\AmForms_ExportModel $export ) | ||
$export | craft\AmForms_ExportModel |