* Import clipboard data * * @param int $reportId * @param $import * @param bool $isDataset * @return DataResponse|NotFoundResponse * @throws Exception */
(int $reportId, $import, bool $isDataset, $storageMapping = null, $header = null, $delimiter = null)
| 219 | * @throws Exception |
| 220 | */ |
| 221 | #[NoAdminRequired] |
| 222 | public function importClipboard(int $reportId, $import, bool $isDataset, $storageMapping = null, $header = null, $delimiter = null) |
| 223 | { |
| 224 | $result = $this->DataloadService->importClipboard($reportId, $import, $isDataset, $storageMapping, $header, $delimiter); |
| 225 | if ($result) { |
| 226 | return new DataResponse($result); |
| 227 | } else { |
| 228 | return new NotFoundResponse(); |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Import data into dataset from an internal or external file |
nothing calls this directly
no outgoing calls
no test coverage detected