(int $parent = 0)
| 193 | } |
| 194 | |
| 195 | public function createGroup(int $parent = 0): int { |
| 196 | if (!$this->isValidParent($parent)) { |
| 197 | return 0; |
| 198 | } |
| 199 | return $this->PanoramaMapper->create($this->l10n->t('New'), self::REPORT_TYPE_GROUP, $parent, '[]'); |
| 200 | } |
| 201 | |
| 202 | public function updateGroup(int $panoramaId, int $groupId): bool { |
| 203 | if (!$this->isOwn($panoramaId) || !$this->isValidParent($groupId, $panoramaId)) { |
nothing calls this directly
no test coverage detected