\DownloadController

Controller to handle downloading of analysis results

Summary

Methods
Properties
Constants
getResultsCSV()
No public properties found
No constants found
setupLayout()
No protected properties found
N/A
_generateCSV()
No private properties found
N/A

Methods

getResultsCSV()

getResultsCSV() : \Illuminate\View\View

Function to get results as CSV

Returns

\Illuminate\View\View —

The download view

setupLayout()

setupLayout() : void

Setup the layout used by the controller.

_generateCSV()

_generateCSV(\User  $user) : String

Function to generate a CSV file

Parameters

\User $user

The currently active user who requested the CSV file

Returns

String —

Url to download generated CSV file