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

Method readOwn

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

* get own dataset details; used in external access like dataset controller * * @param int $datasetId * @return array|bool * @throws Exception */

(int $datasetId)

Source from the content-addressed store, hash-verified

115 * @throws Exception
116 */
117 public function readOwn(int $datasetId) {
118 $ownDataset = $this->DatasetMapper->readOwn($datasetId);
119 if (!empty($ownDataset)) {
120 $ownDataset['permissions'] = \OCP\Constants::PERMISSION_UPDATE;
121 $ownDataset['dataset'] = $ownDataset['id'];
122 }
123 return $ownDataset;
124 }
125
126 /**
127 * get dataset details

Callers 15

createMethod · 0.45
deleteMethod · 0.45
reorderMethod · 0.45
isOwnMethod · 0.45
readMethod · 0.45
isOwnMethod · 0.45
isValidParentMethod · 0.45
createMethod · 0.45
readMethod · 0.45
getDatasetIdMethod · 0.45
readMethod · 0.45
isOwnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected