MCPcopy Create free account
hub / github.com/Rello/analytics / createCopy

Method createCopy

lib/Controller/ReportController.php:81–85  ·  view source on GitHub ↗

* copy an existing report with the current navigation status * * @param int $reportId * @param $chartoptions * @param $dataoptions * @param $filteroptions * @param $tableoptions * @return DataResponse * @throws Exception */

(int $reportId, $chartoptions, $dataoptions, $filteroptions, $tableoptions, ?string $chart = null)

Source from the content-addressed store, hash-verified

79 * @throws Exception
80 */
81 #[NoAdminRequired]
82 public function createCopy(int $reportId, $chartoptions, $dataoptions, $filteroptions, $tableoptions, ?string $chart = null)
83 {
84 return new DataResponse($this->ReportService->createCopy($reportId, $chartoptions, $dataoptions, $filteroptions, $tableoptions, $chart));
85 }
86
87 /**
88 * create new report from file

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected