UserExportController
class UserExportController extendsController
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
from Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from Controller
Model
getQuery()
Get the query for the model to export.
Export
getExport(array$ids)
Get the new export instance.
string
getExportFilename()
Get the filename of the export archive.
bool
isAllowed()
Determine if this kind of export is allowed by the config.
Details
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
inControllerat line15
protectedRedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
inControllerat line16
Response
show(Request$request)
Handle a generic export request.
at line24
protectedModel
getQuery()
Get the query for the model to export.
at line32
protectedExport
getExport(array$ids)
Get the new export instance.
at line40
protectedstring
getExportFilename()
Get the filename of the export archive.
at line48
protectedbool
isAllowed()
Determine if this kind of export is allowed by the config.