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

Method isOwn

lib/Service/ReportService.php:189–196  ·  view source on GitHub ↗

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

(int $reportId)

Source from the content-addressed store, hash-verified

187 * @return bool
188 */
189 public function isOwn(int $reportId) {
190 $ownReport = $this->ReportMapper->readOwn($reportId);
191 if (!empty($ownReport)) {
192 return true;
193 } else {
194 return false;
195 }
196 }
197
198 /**
199 * create new blank report

Callers 12

updateMethod · 0.95
updateGroupMethod · 0.95
renameMethod · 0.95
readPanoramaMethod · 0.45
createMethod · 0.45
readReportMethod · 0.45
readPanoramaMethod · 0.45
deleteMethod · 0.45
deleteMethod · 0.45
providerMethod · 0.45
deleteMethod · 0.45
updateMethod · 0.45

Calls 1

readOwnMethod · 0.45

Tested by

no test coverage detected