* check if own report * * @param int $panoramaId * @return bool */
(int $panoramaId)
| 154 | * @return bool |
| 155 | */ |
| 156 | public function isOwn(int $panoramaId) { |
| 157 | $ownReport = $this->PanoramaMapper->readOwn($panoramaId); |
| 158 | if (!empty($ownReport)) { |
| 159 | return true; |
| 160 | } else { |
| 161 | return false; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * create new blank report |
no test coverage detected