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

Method isOwn

lib/Service/PanoramaService.php:156–163  ·  view source on GitHub ↗

* check if own report * * @param int $panoramaId * @return bool */

(int $panoramaId)

Source from the content-addressed store, hash-verified

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

Callers 3

updateMethod · 0.95
updateGroupMethod · 0.95
renameMethod · 0.95

Calls 1

readOwnMethod · 0.45

Tested by

no test coverage detected