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

Method update

lib/Controller/PanoramaController.php:104–112  ·  view source on GitHub ↗

* get report details * * @param int $panoramaId * @param $name * @param int $type * @param int $parent * @param $pages * @return DataResponse * @throws Exception */

(int $panoramaId, $name, int $type, int $parent, $pages)

Source from the content-addressed store, hash-verified

102 * @throws Exception
103 */
104 #[NoAdminRequired]
105 public function update(int $panoramaId, $name, int $type, int $parent, $pages)
106 {
107 if (!$this->PanoramaService->isOwn($panoramaId)) {
108 return new DataResponse(false, 403);
109 }
110 $pages = json_encode($pages);
111 return new DataResponse($this->PanoramaService->update($panoramaId, $name, $type, $parent, $pages));
112 }
113
114 /**
115 * create panorama group

Callers

nothing calls this directly

Calls 1

isOwnMethod · 0.45

Tested by

no test coverage detected