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

Method isOwn

lib/Service/PanoramaService.php:117–124  ·  view source on GitHub ↗

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

(int $panoramaId)

Source from the content-addressed store, hash-verified

115 * @return bool
116 */
117 public function isOwn(int $panoramaId) {
118 $ownReport = $this->PanoramaMapper->readOwn($panoramaId);
119 if (!empty($ownReport)) {
120 return true;
121 } else {
122 return false;
123 }
124 }
125
126 /**
127 * 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