PHP Class App\Http\Controllers\ExportController

Inheritance: extends Controller
Show file Open project: hillelcoren/invoice-ninja

Public Methods

Method Description
doExport ( Illuminate\Http\Request $request ) : Illuminate\Http\JsonResponse

Private Methods

Method Description
getData ( $request ) : array
returnCSV ( $request, $fileName ) : mixed
returnJSON ( $request, $fileName ) : Illuminate\Http\JsonResponse
returnXLS ( $request, $fileName ) : mixed

Method Details

doExport() public method

public doExport ( Illuminate\Http\Request $request ) : Illuminate\Http\JsonResponse
$request Illuminate\Http\Request
return Illuminate\Http\JsonResponse