ImportAdminController
class ImportAdminController extendsController
Traits
Methods
Determines if the request was done by an automated script (with API token or ajax).
Shows the import admin page.
Shows the import admin page for a specific import which wasn't completed yet.
Show the view for an unfinished label tree import.
Show the view for an unfinished volume tree import.
Hides sensitive user credentials that should not be returned to the frontend.
Details
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
at line21
Response
index()
Shows the import admin page.
at line38
Response
show(ArchiveManager$manager,$token)
Shows the import admin page for a specific import which wasn't completed yet.
at line63
protectedResponse
showUserImport(UserImport$import,string$token)
Show the view for an unfinished user import.
at line88
protectedResponse
showLabelTreeImport(LabelTreeImport$import,string$token)
Show the view for an unfinished label tree import.
at line143
protectedResponse
showVolumeImport(VolumeImport$import,string$token)
Show the view for an unfinished volume tree import.
at line192
array
hideUserCredentials(array$user)
Hides sensitive user credentials that should not be returned to the frontend.
Must be public to be used as a callable in map().