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

Method isOwn

lib/Service/ReportService.php:159–166  ·  view source on GitHub ↗

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

(int $reportId)

Source from the content-addressed store, hash-verified

157 * @return bool
158 */
159 public function isOwn(int $reportId) {
160 $ownReport = $this->ReportMapper->readOwn($reportId);
161 if (!empty($ownReport)) {
162 return true;
163 } else {
164 return false;
165 }
166 }
167
168 /**
169 * create new blank report

Callers 11

updateMethod · 0.95
updateGroupMethod · 0.95
renameMethod · 0.95
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