UserExport
class UserExport extendsExport
Properties
protectedarray | $ids | IDs of the models of this export. | from Export |
Methods
string
getArchive()
Generate the export archive file and return the temporary file path.
from Export
array|string
getContent()
Get the content of the export file. If a string, it is the path to the temporary file containing the content (like a CSV).
string
getFileName()
Get the name of the export file.
array
getAdditionalExports()
Get additional exports that should be included in the export archive.
from Export
Details
inExportat line21
__construct(array$ids)
Create a new instance.
inExportat line31
string
getArchive()
Generate the export archive file and return the temporary file path.
at line12
array|string
getContent()
Get the content of the export file. If a string, it is the path to the temporary file containing the content (like a CSV).
at line28
string
getFileName()
Get the name of the export file.
inExportat line80
array
getAdditionalExports()
Get additional exports that should be included in the export archive.
inExportat line90
addIds(array$ids)
Add more model IDs to this export.
inExportat line100
protected
addToZip(ZipArchive$zip)
Add the file of this report to a zip.
inExportat line113
protected
cleanUp()
Clean up any temporary files.