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

Method isOwn

lib/Service/DatasetService.php:143–150  ·  view source on GitHub ↗

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

(int $datasetId)

Source from the content-addressed store, hash-verified

141 * @return bool
142 */
143 public function isOwn(int $datasetId) {
144 $ownDataset = $this->DatasetMapper->readOwn($datasetId);
145 if (!empty($ownDataset)) {
146 return true;
147 } else {
148 return false;
149 }
150 }
151
152 /**
153 * get dataset status

Callers 4

statusMethod · 0.95
updateMethod · 0.95
updateGroupMethod · 0.95
renameMethod · 0.95

Calls 1

readOwnMethod · 0.45

Tested by

no test coverage detected