class ImportController 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).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Response
store(Request$request,ArchiveManager$manager)

Initiate a new import.

Response
update(ArchiveManager$manager,Request$request,string$token)

No description

Response
destroy(ArchiveManager$manager,string$token)

No description

updateUserImport(UserImport$import,Request$request)

Perform a user import.

updateLabelTreeImport(LabelTreeImport$import,Request$request)

Perform a label tree import.

updateVolumeImport(VolumeImport$import,Request$request)

Perform a volume import.

Details

inControllerat line21
bool isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

inControllerat line15
protectedRedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line34
Response store(Request$request,ArchiveManager$manager)

Initiate a new import.

Parameters

Request $request
ArchiveManager $manager

Return Value

Response

at line73
Response update(ArchiveManager$manager,Request$request,string$token)

Parameters

ArchiveManager $manager
Request $request
string $token Import token

Return Value

Response

at line109
Response destroy(ArchiveManager$manager,string$token)

Parameters

ArchiveManager $manager
string $token Import token

Return Value

Response

at line126
protected updateUserImport(UserImport$import,Request$request)

Perform a user import.

Parameters

UserImport $import
Request $request

at line142
protected updateLabelTreeImport(LabelTreeImport$import,Request$request)

Perform a label tree import.

Parameters

LabelTreeImport $import
Request $request

at line169
protected updateVolumeImport(VolumeImport$import,Request$request)

Perform a volume import.

Parameters

VolumeImport $import
Request $request